GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A virtual backend. More...
Go to the source code of this file.
Enumerations | |
enum | gp_backend_virt_flags { GP_BACKEND_CALL_EXIT = 0x01 } |
A virtual backend flags. More... | |
Functions | |
gp_backend * | gp_backend_virt_init (gp_backend *backend, gp_pixel_type pixel_type, enum gp_backend_virt_flags flags) |
Creates an virtual backend on the top of the existing backend. | |
A virtual backend.
Virtual backend, could emulate backed with any pixel type on the top of an initalized backend, e.g. you can emulate 4bpp grayscale backend on the top of RBG888 X11.
Mostly useful for testing.
Definition in file gp_backend_virtual.h.
A virtual backend flags.
Enumerator | |
---|---|
GP_BACKEND_CALL_EXIT | If set virtual backend exit calls 'parent' exit as well. |
Definition at line 26 of file gp_backend_virtual.h.
gp_backend * gp_backend_virt_init | ( | gp_backend * | backend, |
gp_pixel_type | pixel_type, | ||
enum gp_backend_virt_flags | flags | ||
) |
Creates an virtual backend on the top of the existing backend.
backend | Already initialized backend. |
pixel_type | A pixel type to emulate. |
flags | A gp_backend_virt_flags. |