mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-23 03:26:56 -04:00
vector: Add width to struct zint_vector_circle & use for MaxiCode bullseye
**Incompatible change**
This commit is contained in:
parent
02c155b6b2
commit
3388f98c00
55 changed files with 171 additions and 238 deletions
|
@ -54,7 +54,8 @@ extern "C" {
|
|||
};
|
||||
|
||||
struct zint_vector_string {
|
||||
float x, y, fsize; /* x, y position relative to halign; font size */
|
||||
float x, y; /* x, y position relative to halign */
|
||||
float fsize; /* Font size */
|
||||
float width; /* Suggested string width, may be 0 if none recommended */
|
||||
int length; /* Number of characters */
|
||||
int rotation; /* 0, 90, 180, 270 degrees */
|
||||
|
@ -64,7 +65,9 @@ extern "C" {
|
|||
};
|
||||
|
||||
struct zint_vector_circle {
|
||||
float x, y, diameter;
|
||||
float x, y;
|
||||
float diameter; /* Circle diameter. Does not include width (if any) */
|
||||
float width; /* Width of circle perimeter. 0 for fill (disc) */
|
||||
int colour; /* Non-zero for draw with background colour */
|
||||
struct zint_vector_circle *next; /* Pointer to next circle */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue