Nugget
|
The 8x8 Rectangle primitive. More...
#include <psyqo/primitives/rectangles.hh>
Public Member Functions | |
Rectangle8x8 () | |
Rectangle8x8 (Color c) | |
Rectangle8x8 & | setColor (Color c) |
Rectangle8x8 & | setOpaque () |
Rectangle8x8 & | setSemiTrans () |
Public Attributes | |
Vertex | position |
Static Public Attributes | |
static constexpr uint32_t | BASE = 0b011'10'0 << 26 |
The 8x8 Rectangle primitive.
This primitive will draw a rectangle of 8 by 8 pixels. The position
member specifies the location within the screen where the top left corner of the rectangle will be rendered. The color is specified by the constructor parameter, or the setColor
method.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
Vertex psyqo::Prim::Rectangle8x8::position |