|
Nugget
|
The 16x16 Rectangle primitive. More...
#include <psyqo/primitives/rectangles.hh>

Public Member Functions | |
| Rectangle16x16 () | |
| Rectangle16x16 (Color c) | |
| Rectangle16x16 & | setColor (Color c) |
| Rectangle16x16 & | setOpaque () |
| Rectangle16x16 & | setSemiTrans () |
Public Attributes | |
| Vertex | position |
Static Public Attributes | |
| static constexpr uint32_t | BASE = 0b011'11'0 << 26 |
The 16x16 Rectangle primitive.
This primitive will draw a rectangle of 16 by 16 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::Rectangle16x16::position |