Bare Metal Programming Tool Kit
|
graphic elements More...
Classes | |
class | vector |
a relative or absolute (= relative to (0,0)) location on a grid More... | |
class | color |
a color (in the 3 * 8 bit RGB format + transparency) More... | |
class | event |
something that the users caused to happen on the screen More... | |
class | drawable |
an object that can be drawn in a frame More... | |
class | frame |
a rectangular block of writable pixels More... | |
class | frame_dummy |
writing to this frame does nothing More... | |
class | frame_buffer |
in-memory frame buffer that can be written in one go More... | |
class | frame_snapshot |
in-memory write-through frame buffer that can be written to a .bmp file More... | |
class | frame_tee |
writes to the (2..4) underlying frames More... | |
class | frame_filter |
apply a function to the color before writing More... | |
class | subframe |
frame that represents a rectangular part of another frame More... | |
class | line |
a drawable line object More... | |
class | rectangle |
a drawable rectangle object More... | |
class | circle |
a drawable circle object More... | |
class | image |
a recangular block that can be drawn at a position in a frame More... | |
class | image_pixels |
an image that can be read pixel by pixel More... | |
class | inline_rgb_photo |
a color photo stored as inline constant data (in ROM) More... | |
class | inline_bw_photo |
a black-and-wite photo stored as inline constant data (in ROM) More... | |
class | font |
the photo's (bitmaps) of characters More... | |
class | char_photo |
a photo of a single char from a font More... | |
class | inline_font |
a font stored as inline constant data (in ROM) More... | |
class | format |
specifies how a text is rendered on a screen More... | |
class | text |
a formatted text More... | |
class | frame_console |
frame that is an ostream subclass (so you can << to it) More... | |
Enumerations | |
enum | event_type { event_none, event_exit, event_down, event_touch, event_up, event_click } |
types of events More... | |
enum | relief { relief_flat, relief_raised, relief_sunken } |
enum | font_alignment { align_near, align_far, align_centre, align_fill } |
Functions | |
const bmptk::graphics::inline_font & | font_default () |
returns the default font | |
vector | max (vector a, vector b, vector c=vector::origin(), vector d=vector::origin()) |
returns the vector that is the maximum of the arguments on each axis | |
vector | operator* (int n, const vector v) |
multiplies a vector by an integer by multiplying the coordinates | |
std::ostream & | operator<< (std::ostream &s, const format &f) |
print a format | |
graphic elements
|
related |
types of events
This type represents an action the user performs on the screen, using a mouse or stylus (on a touch screen).
Definition at line 461 of file graphics.h.
|
related |
the alignment of a text
Definition at line 1829 of file graphics.h.
|
related |
appearance of the border of a rectangle
Definition at line 1307 of file graphics.h.