quickSuggestion Posted December 14, 2021 Share Posted December 14, 2021 We should be able to do math in any property input fields (ex. typing in 14*40 for width would yield 560, 500/2 would yield 250, etc). I don't believe it's possible to do this through plugins, and many other programs have this feature. 1 Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 14, 2021 Share Posted December 14, 2021 Can you give an example of another program that supports this? I've never seen it myself Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
midora Posted December 14, 2021 Share Posted December 14, 2021 (edited) I'm allowing this in some of my applications but you are forced to start the expression with an '=' operator (like in excel cells). BTW: OptionBased allows to add a default unit to the creation of a control (plus mappings for alternative units with factors for scaling and offset). The value will always be returned in the default unit. I.e. the Parallel lines and patterns plugin allows you to enter values in px, mm, cm, in, and pt (the tooltip shows the values in all units). Edited December 14, 2021 by midora Quote Link to comment Share on other sites More sharing options...
NinthDesertDude Posted December 14, 2021 Share Posted December 14, 2021 (edited) 1 hour ago, Rick Brewster said: Can you give an example of another program that supports this? I've never seen it myself It's in a few, like Blender. Of course, Blender is a massive super-project so I'm not sure that counts. It's nifty; I'm not sure how important it is to support here since unlike Blender, PDN isn't rife with exact editing of sliders. If it should be anywhere, I'd say the rgb and hsv boxes in the color window make the most sense of all Edited December 14, 2021 by NinthDesertDude Quote 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.