Search
Articles
FAQs
Login
All Questions
New Question
Silverlight / WPF - tool ceation same as photoshop...
Asked By
Chinnarasu .M
on 04-Jun-13 01:33 AM
hi, i am using visual studio 2012, am create tools like photoshop same (line ,ellipse,pointer, select,rectangle etc) as give me example and am used to c# wpf windows application ... please anybody help me its very urgent...
Bill B
replied to
Chinnarasu .M
on 14-Jun-13 03:40 AM
not the same as photoshop, but you can get it to draw whatever
check out the GDI
like the old windows meta file commands in the win32 API
only now its all right there for you
http://msdn.microsoft.com/en-us/library/hk087c6d.aspx
http://www.codeproject.com/Articles/4659/Introduction-to-GDI-in-NET
Its a little tricky at first...but not really
You get a handle to a virtual device to draw on
You need pen/brush - like do you have a pointy pencil? a big fat paint brush to paint a barn? some stencil to spray paint through... etc...
you move it around...
draw a dot or use some of the built in stuff
Look at how this captcha is drawn
http://www.codeproject.com/Articles/8751/A-CAPTCHA-Server-Control-for-ASP-NET