Red ochre Posted May 23, 2013 Share Posted May 23, 2013 'Bentley' - beta for 'Bezncurve' updateI am starting a thread to discuss possible improvements to the 'Bezncurve' plugin I recently published here: http://forums.getpaint.net/index.php?/topic/26457-bezncurve-6-control-points-new-21st-may-2013/To avoid confusion with the published version I have called this 'Bentley'.I have attached the VS CS file and the new .dll file (with grey construction lines as suggested by Midora).I would like to stress that I am new to Visual studio so there will be horrible mistakes in the code.All are welcome to change and 'play' with the code to suit their own needs (maybe adding more control points) - it is only setting the start/end control point of Bezier in the middle of the points either side (just the simplest way to ensure all 3 are in a straight line).Questions:1. Is it correct to dispose of the pens and graphics surface g, or is that automatically done when PDN stops using the effect?2. Is there an easy way to make the 'grayPen' construction lines dotted?3. Any other glaring mistakes?4. If anyone would like the challenge of creating a full size interactive U.I. I'm sure users would appreciate it and the example code would be invaluable. (I haven't got a clue about WPF, forms, eventargs etc. and would make a complete hash of it!). Bentley.zip BentleyC#code.zip Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.