Wither Posted November 19, 2019 Share Posted November 19, 2019 Good day, everyone! Those that remember me will find that I return from my 10 year seclusion with more life experience! And a cat that I live alone with. Those that don't will get nothing of value out of this first paragraph. I made a simple tool for plotting points on the canvas that I hadn't quite seen done the same way before. I had a need for finding particular points on an image and mousing around to read the coordinates on the bottom was tedious and less precise than I'd like. My solution was to draw a crosshair centered on whatever point you tell it. It can optionally place the [x, y] reference as an ordered pair nearby the point as well. It uses your selected Primary Color for everything. It's great for locating points on a GUI image (if you, like me, happen to be working on modding a game that uses a single image for its GUI elements). I'm sure you could find other uses for it! Screenshots included to try and demonstrate its practical usage. My coding ability is mostly in the "pattern recognition" phase, but I figured there's no reason not to share it. Made in CodeLab, then migrated to VS for dynamic control over the input sliders. Please feel free to message me with coding tips and messages akin to "oh my god, I thought you were dead!" Thanks to the PdN Team for giving me well over a decade of entertainment in the world of photo manipulation! PointFinder.zip 2 3 Quote YouTube | Myspace | deviantART Link to comment Share on other sites More sharing options...
toe_head2001 Posted November 19, 2019 Share Posted November 19, 2019 1 hour ago, Wither said: ... feel free to message me with coding tips ... You can actually link the two Offset sliders in the UI. Add a property rule in the OnCreatePropertyCollection() override. Edit the property names to reflect those in your project. PropertyCollectionRule[] propRules = new PropertyCollectionRule[] { new LinkValuesBasedOnBooleanRule<int, Int32Property>(new object[] { PropertyNames.XOffset, PropertyNames.YOffset }, PropertyNames.LinkBoxDims, false) }; return new PropertyCollection(props, propRules); 1 hour ago, Wither said: ... messages akin to "oh my god, I thought you were dead!" ... Welcome back. 1 Quote (June 9th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted November 20, 2019 Share Posted November 20, 2019 Nice to see you again Wither Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Pixey Posted November 20, 2019 Share Posted November 20, 2019 Hey @Wither and Welcome back to the forum I've been a huge fan of your Dodge and Burn Tutorial over the years and return to it every now and again 🤗 Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
lynxster4 Posted November 20, 2019 Share Posted November 20, 2019 Hi @Wither! I don't know you at all, but welcome back! Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer" Link to comment Share on other sites More sharing options...
Wither Posted December 3, 2019 Author Share Posted December 3, 2019 The response to this simple thing reminds me of why I love this community! First attempts at adapting that code snippet haven't been terrific, but I'll keep googling and compiling until it clicks. Good to be back! 1 Quote YouTube | Myspace | deviantART Link to comment Share on other sites More sharing options...
Seerose Posted December 3, 2019 Share Posted December 3, 2019 @Wither! Thank you so much for your effort. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.