Difference between revisions of "Pixmaps"

From uGFX Wiki
Jump to: navigation, search
(Created page with "ToDo Category:GDISP")
 
Line 1: Line 1:
ToDo
+
Pixmaps provide dynamic frame buffers. A pixmap of any size can by dynamically created and destroyed during runtime. A pixmap represents itself as a virtual display to the user. Hence a pixmap can be treated like a regular display and all the available [[GDISP]] drawing routines can be performed inside the pixmap frame buffer. A pixmap can be rendered at any location of a real display at any time.
  
 +
== API reference ==
 +
The API reference of the pixmap can be found [http://api.ugfx.org/master/group___pixmap.html here].
 +
 +
== Creating and destroying a pixmap ==
 +
Pixmaps can be created and destroyed at any time during runtime using ''gdispPixmapCreate()'' and ''gdispPixmapDelete()''.
 +
 +
== Accessing the pixmap ==
 +
A pixmap can be treated as either a virtual display or as a memory frame buffer surface.
 +
 +
=== Virtual display ===
 +
 +
 +
=== Frame buffer surface ===
 +
 +
 +
== Example ==
  
 
[[Category:GDISP]]
 
[[Category:GDISP]]

Revision as of 15:10, 3 July 2015

Pixmaps provide dynamic frame buffers. A pixmap of any size can by dynamically created and destroyed during runtime. A pixmap represents itself as a virtual display to the user. Hence a pixmap can be treated like a regular display and all the available GDISP drawing routines can be performed inside the pixmap frame buffer. A pixmap can be rendered at any location of a real display at any time.

API reference

The API reference of the pixmap can be found here.

Creating and destroying a pixmap

Pixmaps can be created and destroyed at any time during runtime using gdispPixmapCreate() and gdispPixmapDelete().

Accessing the pixmap

A pixmap can be treated as either a virtual display or as a memory frame buffer surface.

Virtual display

Frame buffer surface

Example