mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-30 06:45:28 -04:00
Add enhanced metafile format (EMF) support
This commit is contained in:
parent
ca88e089ea
commit
d1e406b7d2
6 changed files with 1470 additions and 2 deletions
|
@ -316,7 +316,7 @@ int svg_plot(struct zint_symbol *symbol) {
|
|||
row_posn += yoffset;
|
||||
|
||||
if (symbol->output_options & BARCODE_DOTTY_MODE) {
|
||||
/* Use (currently undocumented) dot mode - see SF ticket #29 */
|
||||
/* Use dot mode */
|
||||
for (i = 0; i < symbol->width; i++) {
|
||||
if (module_is_set(symbol, this_row, i)) {
|
||||
fprintf(fsvg, " <circle cx=\"%.2f\" cy=\"%.2f\" r=\"%.2f\" fill=\"#%s\" />\n", ((i + xoffset) * scaler) + (scaler / 2.0), (row_posn * scaler) + (scaler / 2.0), (symbol->dot_size / 2.0) * scaler, symbol->fgcolour);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue