From 4cf3b18f62c55885be159aa666451d56c91d03ed Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 30 Jun 2010 16:46:25 +0200 Subject: Simplify SpiceLineAttr by removing unused elements and enums --- spice/draw.h | 4 ---- spice/enums.h | 16 ---------------- 2 files changed, 20 deletions(-) diff --git a/spice/draw.h b/spice/draw.h index da748ef..abf778f 100644 --- a/spice/draw.h +++ b/spice/draw.h @@ -251,11 +251,7 @@ typedef struct SPICE_ATTR_PACKED SpiceBlackness { typedef struct SPICE_ATTR_PACKED SpiceLineAttr { uint8_t flags; - uint8_t join_style; - uint8_t end_style; uint8_t style_nseg; - SPICE_FIXED28_4 width; - SPICE_FIXED28_4 miter_limit; SPICE_ADDRESS style; //data[0] ? } SpiceLineAttr; diff --git a/spice/enums.h b/spice/enums.h index 153356c..3317536 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -201,22 +201,6 @@ enum SpiceLineFlags { SPICE_LINE_FLAGS_MASK = 0xc }; -enum SpiceLineCap { - SPICE_LINE_CAP_ROUND, - SPICE_LINE_CAP_SQUARE, - SPICE_LINE_CAP_BUTT, - - SPICE_LINE_CAP_ENUM_END -}; - -enum SpiceLineJoin { - SPICE_LINE_JOIN_ROUND, - SPICE_LINE_JOIN_BEVEL, - SPICE_LINE_JOIN_MITER, - - SPICE_LINE_JOIN_ENUM_END -}; - enum SpiceStringFlags { SPICE_STRING_FLAGS_RASTER_A1 = (1 << 0), SPICE_STRING_FLAGS_RASTER_A4 = (1 << 1), -- cgit