Re: Creating a visual object
- From: James Westgate <nospam@xxxxxxxxxxxxx>
- Date: Tue, 22 Aug 2006 15:35:12 +0100
You need a retained mode graphics system which you can then use to create simple elements such as Rectangle etc which persist information and which you can use to build up useful classes of shapes and functions. An example is availabel at www.bobpowell.net.
Or you may just want to draw onto bitmaps using the graphics.Drawxx functions
James
Ant wrote:
Hi, I don't know if this is the right thread. I'm actually working on a simple graph tool seeing as though .NET doesn't come with one..
I have a control which I want to add bar objects to. I need the bar objects to have certain properties like height, width, colour etc. Sounds like a rectangle to me.
I thought of inheriting the rectangle class but it seems this is only a class that holds values, not a visual representation.
How can I create a rectangle? Must I use a control template to do this?
Completely lost...
Thanks for any ideas.
Ant
- Prev by Date: Re: GDI+ very slow
- Next by Date: Re: SetPixel() / GetPixel() for Format32bppPArgb in VB using LockBits
- Previous by thread: Re: Creating a visual object
- Next by thread: SetPixel() / GetPixel() for Format64bppArgb in VB using LockBits
- Index(es):
Relevant Pages
|