![]() |
|
|||||
|
Drawing our Image | |||||
We create our ImageGlue canvas and draw our image onto it. [C#] [Visual Basic] |
||||||
|
Drawing using GDI+ | |||||
To draw on our canvas using GDI+ we'll need to wrap the Canvas in a GDI+ Graphics context. Note that while the Canvas is wrapped we won't be able to use any ImageGlue Canvas methods. We draw a circle and a pie using GDI+ drawing commands. [C#] [Visual Basic] |
||||||
|
Saving | |||||
To export we use the Canvas SaveAs method. [C#]
[Visual Basic]
|
||||||
|
Input and Output | |||||
Sample input and output images are shown below.
|