Register  Login
Forums

 (you must be logged in to post)

Subject: Drawing App. in Silverlight & DNN
Prev Next
You are not authorized to post a reply.

Author Messages
LiniUser is Offline

Posts:7

08/26/2009 6:07 AM  
Hello,

I have a windows app that allows the user to draw simple diagrams and save as bitmaps in .jpg, .png and .tiff formats.

I'd like to redevelop this for the web AND as a DNN module, allowing the user to draw in their browser then save as a .jpg or .png file (maybe .gif too) either in a folder on the server or a folder on their local machine.

Can/does silverlight use the GDI+ api?

I develop DNN modules in VB and C# so have a good understanding of DNN but not a lot of Silverlight and what the capabilities are.

Any immediate suggestions?

Thanks
Michael Washington (admin)User is Offline

Posts:129


08/26/2009 6:38 AM  
Silverlight does not use GDI+ but it will allow you to draw using "stroke" and Silverlight 3 has writable Bitmap.

So yes Silverlight will do what you want, you will have to Google around for examples.

Any Silverlight app will work with DNN. The only role DNN plays is that it can be a place for you to save user data.DNN will also control the security as to who can get to your Silverlight app.
LiniUser is Offline

Posts:7

08/26/2009 6:51 AM  
Thanks Mike for the reply!

Looking at Silverlight drawing functionality, I see it does not have an Arc shape, ie: draw an arc at point(x, y) with start angle, end angle... My app makes extensive use of drawing arcs so I'll need to solve that in Silverlight but, all else looks promising indeed.

Is the code exposed on the client-side?

My windows app. is obfuscated against decompilation and I'd not want to expose some of my math logic in a Silverlight app.

Thanks again!
Michael Washington (admin)User is Offline

Posts:129


08/26/2009 6:58 AM  
Silverlight will do what you need. I suggest:
Foundation Silverlight 3 Animation
http://www.amazon.com/Foundation-Silverlight-Animation-Jeff-Paries/dp/143022407X/ref=sr_1_3?ie=UTF8&qid=1249096373&sr=8-3
LiniUser is Offline

Posts:7

08/26/2009 8:43 AM  
Thanks again for your help!

I will ask more I'm sure when it comes time to integrate into DNN
You are not authorized to post a reply.
Forums > DNN Silverlight Forum > Silverlight and DotNetNuke > Drawing App. in Silverlight & DNN



ActiveForums 3.7
Terms Of Use | Privacy Statement | Copyright 2007-2008 by Adefwebserver.com Dynnamite DotNetNuke Skins & Modules