ZBar Bar Code Reader Library  version 0.10
svg.c File Reference
Include dependency graph for svg.c:

Functions

 fclose (svg)
 
 fprintf (svg, svg_head, x, y, w, h)
 
 fprintf (svg,"</svg>\n")
 
 fprintf (svg,"<image width='%g' height='%g' xlink:href='%s'/>\n", width, height, name)
 
 fprintf (svg,"<g class='%s'", cls)
 
 fprintf (svg,">\n")
 
 fprintf (svg,"'/>\n")
 
 fprintf (svg,"z")
 
 fprintf (svg," %c%g,%g",(abs)? 'M': 'm', x, y)
 
 if (!svg) return
 
 if (sx!=1.||sy!=1||deg||x||y)
 
 if (scale!=1.||x||y)
 
 if (x &&y) fprintf(svg
 
void svg_commentf (const char *format,...)
 

Variables

g
 
c abs L
 
static FILE * svg
 
static const char svg_head []
 
 void
 
c abs x
 
c abs y
 

Function Documentation

fclose ( svg  )

Referenced by qr_binarize(), qr_img_get_bit(), qr_sampling_grid_clear(), and zbar_image_write().

Here is the caller graph for this function:

fprintf ( svg  ,
"</svg>\n"   
)
fprintf ( svg  ,
"<image width='%g' height='%g' xlink:href='%s'/>\n"  ,
width  ,
height  ,
name   
)
fprintf ( svg  )
fprintf ( svg  ,
,
\n"   
)
fprintf ( svg  ,
"'/  ,
\n"   
)
fprintf ( svg  ,
"z"   
)
fprintf ( svg  ,
" %c%  g,
%g ,
(abs)? 'M': 'm'  ,
x  ,
y   
)
if ( svg)
if ( sx!  = 1. || sy != 1 || deg || x || y)

References fprintf(), svg, svg_group_end, svg_path_start, and x.

Here is the call graph for this function:

if ( scale!  = 1. || x || y)

References fprintf(), svg, svg_path_close, svg_path_end, svg_path_lineto, and svg_path_moveto.

Here is the call graph for this function:

if ( x &&  y)
void svg_commentf ( const char *  format,
  ... 
)

References fprintf(), scan_image::height, name, svg, svg_group_start, svg_image, scan_image::width, x, and y.

Here is the call graph for this function:

Variable Documentation

c abs L

Referenced by _zbar_window_attach().

svg
static

Referenced by if(), scan_image(), and svg_commentf().

const char svg_head[]
static