Definition at line 25 of file transform.h.
#include <transform.h>
Public Member Functions | |
Transform16 ()=default | |
vec2< alpha16 > | transform (const vec2< alpha16 > &xy) const |
Static Public Member Functions | |
static Transform16 | From (uint16_t width, uint16_t height) |
static Transform16 | ToBounds (alpha16 max_value) |
static Transform16 | ToBounds (const vec2< alpha16 > &min, const vec2< alpha16 > &max, alpha16 rotation=0) |
Public Attributes | |
alpha16 | offset_x = 0 |
alpha16 | offset_y = 0 |
alpha16 | rotation = 0 |
alpha16 | scale_x = 0xffff |
alpha16 | scale_y = 0xffff |