Is there a good C# / .NET OO graphics library?

Q

queisser

I need some basic graphics object functionality for my app. What I'd
like to do is this:

1) Start with an empty graphics "surface"
2) Paste or insert-from-file metafiles or bitmaps
3a) Use the mouse to move and resize, maybe rotate the inserted graphic
object.
3b) Click on previously inserted objects and move/resize them as well
4) Save the entire thing as a bitmap

I know how to do all these things individually and I've got 1,2 and 4
working fine. 3a) seems fairly straightforward but 3b) is where it gets
interesting so I was going to sit down and write a simple
object-oriented library that abstracts the moving/resizing/rotating
part by supplying a kind of holder class that knows how to display the
resizing handles and handle the hit-testing.

It seems to me that this kind of problem must have been solved over and
over but I couldn't find any freeware/shareware for .NET/C#.

Can anyone point me to a lib that does this kind of thing?

Thanks,
Andrew Queisser
 
B

Bob Powell [MVP]

Q

queisser

Hi Bob,

Thanks for the example - it's basically exactly what I was thinking of
implementing, I'll just add resizing with 8 handles around the
perimeter. I guess I'll go ahead with a roll-your-own solution and
decide later whether it's worthwhile switching to a commercial library
for doing fancier things.

Thanks,
Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top