aboutsummaryrefslogtreecommitdiffstats
path: root/symbols/symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'symbols/symbols.h')
-rw-r--r--symbols/symbols.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/symbols/symbols.h b/symbols/symbols.h
index 0af3412..32f48d0 100644
--- a/symbols/symbols.h
+++ b/symbols/symbols.h
@@ -62,7 +62,8 @@ void vega_symbol_raster(const VegaSymbols *, const VegaSymbol *, double scale, d
/* Symbols drawn once at one scale and kept, for surfaces that compose them
* on the CPU: each the first time it is asked for. */
-typedef struct { VegaPlace place; const unsigned char *pixels; } VegaBitmap; /* pixels: place.width per row */
+/* pixels: place.width per row; advance: how far the pen moves after it, in whole pixels */
+typedef struct { VegaPlace place; const unsigned char *pixels; int advance; } VegaBitmap;
typedef struct VegaGlyphs VegaGlyphs;
VegaGlyphs *vega_glyphs_open(const VegaSymbols *, float scale);
/* The bitmap of code, or NULL when the file has no such symbol. */