mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-21 11:57:04 +00:00
Changed rendering to use strings instead of a characters
This commit is contained in:
@@ -30,16 +30,17 @@ struct zint_render_line {
|
||||
struct zint_render_line *next; /* Pointer to next line */
|
||||
};
|
||||
|
||||
struct zint_render_char {
|
||||
struct zint_render_string {
|
||||
float x, y, fsize;
|
||||
char c;
|
||||
struct zint_render_char *next; /* Pointer to next character */
|
||||
float width; /* Suggested string width, may be 0 if none recommended */
|
||||
char *text;
|
||||
struct zint_render_string *next; /* Pointer to next character */
|
||||
};
|
||||
|
||||
struct zint_render {
|
||||
float width, height;
|
||||
struct zint_render_line *lines; /* Pointer to first line */
|
||||
struct zint_render_char *chars; /* Pointer to first character */
|
||||
struct zint_render_string *strings; /* Pointer to first string */
|
||||
};
|
||||
|
||||
struct zint_symbol {
|
||||
|
||||
Reference in New Issue
Block a user