Use the Canvas object to create and store such dynamic pictures. The object provides various drawing functions allowing e.g. filling areas with a color or drawing line segments, ... From technical point of view, the Canvas object can be seen like an off-screen framebuffer. All operations you perform on the screen can also be performed on an Canvas object.
The Canvas object itself is not visible. It manages the picture content only. To show the content of the Canvas object, an ordinary Image view can be used. Just assign the Canvas object to the property Bitmap of the Image view. To update the screen after the picture within an Canvas object has changed, use the method InvalidateArea().
Following example demonstrates this application. See the comments inside the project:
For more details see interface of the Graphics::Canvas class within 'Mosaic 2.0 User Manual'.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!