Mercurial > MadButterfly
comparison src/mb_types.h @ 26:d50f33040de6
Set line width for path.
- consider width of line when compute bounding box area.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 03 Aug 2008 13:04:55 +0800 |
parents | 0f3baa488a62 |
children | 604bc90d509d |
comparison
equal
deleted
inserted
replaced
25:29937c26bb01 | 26:d50f33040de6 |
---|---|
109 int sh_type; | 109 int sh_type; |
110 geo_t *geo; | 110 geo_t *geo; |
111 coord_t *coord; | 111 coord_t *coord; |
112 shape_t *coord_mem_next; | 112 shape_t *coord_mem_next; |
113 paint_t *fill, *stroke; | 113 paint_t *fill, *stroke; |
114 co_aix stroke_width; | |
115 int stroke_linecap; | |
116 int stroke_linejoin; | |
114 }; | 117 }; |
115 enum { SHT_UNKNOW, SHT_PATH, SHT_TEXT }; | 118 enum { SHT_UNKNOW, SHT_PATH, SHT_TEXT }; |
116 | 119 |
117 #define sh_attach_geo(sh, g) \ | 120 #define sh_attach_geo(sh, g) \ |
118 do { \ | 121 do { \ |