diff options
Diffstat (limited to 'common/draw.h')
-rw-r--r-- | common/draw.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/common/draw.h b/common/draw.h index 8fad0e5..5ab60c4 100644 --- a/common/draw.h +++ b/common/draw.h @@ -223,6 +223,31 @@ typedef struct SpiceRop3 { SpiceQMask mask; } SpiceRop3; +/* Given in 16.16 fixed point */ +typedef struct SpiceTransform { + uint32_t t00; + uint32_t t01; + uint32_t t02; + uint32_t t10; + uint32_t t11; + uint32_t t12; +} SpiceTransform; + +typedef struct SpiceComposite { + uint8_t op; + uint8_t src_filter; + uint8_t mask_filter; + uint8_t src_repeat; + uint8_t mask_repeat; + uint8_t component_alpha; + SpiceImage *src_bitmap; + SpiceImage *mask_bitmap; + SpiceTransform src_transform; + SpiceTransform mask_transform; + SpicePoint16 src_origin; + SpicePoint16 mask_origin; +} SpiceComposite; + typedef struct SpiceBlackness { SpiceQMask mask; } SpiceBlackness, SpiceInvers, SpiceWhiteness; |