![]() |
Bare Metal Programming Tool Kit
|
writing to this frame does nothing More...
#include <graphics.h>
Public Member Functions | |
| frame_dummy (const vector size=vector::origin()) | |
| construct a dummy frame | |
Public Member Functions inherited from bmptk::graphics::frame | |
| frame (const vector size) | |
| create a frame of specified size | |
| vector | size_get () const |
| get the size of the frame | |
| virtual vector | translate_outfrom (const vector p) const |
| translate a subframe coordinate to a master frame coordinate | |
| virtual vector | translate_into (const vector p) const |
| translate a master frame coordinate to a subframe coordinate | |
| bool | is_valid (vector p) |
| whether p is within the frame | |
| color | bg_get () |
| get the backround color | |
| void | write (const vector p, const color c) |
| write one pixel, address specified by vector | |
| virtual void | clear (const color c=color::white()) |
| fill the full frame with the indicated color | |
| virtual void | flush () |
| for buffered frames: write the changes to the underlying frame | |
Protected Member Functions | |
| void | checked_write (const vector p, const color c) |
| checked_write implementation as required by frame | |
Additional Inherited Members | |
Protected Attributes inherited from bmptk::graphics::frame | |
| const vector | size |
| frame size | |
| color | bg |
| most recently applied background color (as used in clear()) | |
writing to this frame does nothing
Definition at line 783 of file graphics.h.
|
inline |
construct a dummy frame
This constror creates a dummy frame. All writes to this frame are ignored. Hence the specified size is not important (out-of-bounds writes are equally ignored), except that it is the size reported by size_get().
Definition at line 793 of file graphics.h.
|
inlineprotectedvirtual |
checked_write implementation as required by frame
This method does nothing.
Implements bmptk::graphics::frame.
Definition at line 801 of file graphics.h.
1.8.2