X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=docs%2Flibglbarcode%2Fhtml%2Flibglbarcode-3.0-lgl-barcode.html;fp=docs%2Flibglbarcode%2Fhtml%2Flibglbarcode-3.0-lgl-barcode.html;h=074f1ae46c3744fd4b62da26656300c3c138b2d5;hb=8e4c50283c4f353b18c68474f91209b8bd050557;hp=97ce1bd4350c2d3d58682553df21fae40c3c8811;hpb=bf6d7db22a79d11630454dcd2e867764e89ca9fe;p=glabels diff --git a/docs/libglbarcode/html/libglbarcode-3.0-lgl-barcode.html b/docs/libglbarcode/html/libglbarcode-3.0-lgl-barcode.html index 97ce1bd4..074f1ae4 100644 --- a/docs/libglbarcode/html/libglbarcode-3.0-lgl-barcode.html +++ b/docs/libglbarcode/html/libglbarcode-3.0-lgl-barcode.html @@ -2,30 +2,27 @@
-- | - | - | LibGlbarcode 3.0 Reference Manual | -- |
---|---|---|---|---|
-Top - Â |Â - Description - |
+Top + | ++ | + | + | + |
-#include <libglbarcode/lgl-barcode.h> - - lglBarcode; - -lglBarcode * lgl_barcode_new (void
); -void lgl_barcode_free (lglBarcode *bc
); - -enum lglBarcodeShapeType; - lglBarcodeShape; - lglBarcodeShapeAny; - lglBarcodeShapeLine; - lglBarcodeShapeBox; - lglBarcodeShapeChar; - lglBarcodeShapeString; - lglBarcodeShapeRing; - lglBarcodeShapeHexagon; - -void lgl_barcode_add_line (lglBarcode *bc
, -gdouble x
, -gdouble y
, -gdouble length
, -gdouble width
); -void lgl_barcode_add_box (lglBarcode *bc
, -gdouble x
, -gdouble y
, -gdouble width
, -gdouble height
); -void lgl_barcode_add_char (lglBarcode *bc
, -gdouble x
, -gdouble y
, -gdouble fsize
, -gchar c
); -void lgl_barcode_add_string (lglBarcode *bc
, -gdouble x
, -gdouble y
, -gdouble fsize
, -gchar *string
, -gsize length
); -void lgl_barcode_add_ring (lglBarcode *bc
, -gdouble x
, -gdouble y
, -gdouble radius
, -gdouble line_width
); -void lgl_barcode_add_hexagon (lglBarcode *bc
, -gdouble x
, -gdouble y
, -gdouble height
); +++Functions
+++
+ + ++ + + ++lglBarcode * + ++lgl_barcode_new () + ++ ++void + ++lgl_barcode_free () + ++ ++void + ++lgl_barcode_add_line () + ++ ++void + ++lgl_barcode_add_box () + ++ ++void + ++lgl_barcode_add_char () + ++ ++void + ++lgl_barcode_add_string () + ++ ++void + ++lgl_barcode_add_ring () + ++ + ++void + ++lgl_barcode_add_hexagon () + +++ +Types and Values
+++
+ + ++ + + +Â +lglBarcode ++ +enum +lglBarcodeShapeType ++ +Â +lglBarcodeShape ++ +Â +lglBarcodeShapeAny ++ +Â +lglBarcodeShapeLine ++ +Â +lglBarcodeShapeBox ++ +Â +lglBarcodeShapeChar ++ +Â +lglBarcodeShapeString ++ +Â +lglBarcodeShapeRing ++ + +Â +lglBarcodeShapeHexagon +-+Details
+Functions
+++lgl_barcode_new ()
+lglBarcode * +lgl_barcode_new (+void
);Allocate a new lglBarcode structure.
+This function allocates a new lglBarcode structure.
++ ++ This function is intended to be used internally by barcode implementations. + Typically an end-user would use
lgl_barcode_create()
instead. +
+++lgl_barcode_free ()
+void +lgl_barcode_free (+lglBarcode *bc
);Free a previously allocated lglBarcode structure.
+ +
+++lgl_barcode_add_line ()
+void +lgl_barcode_add_line (+lglBarcode *bc
, +gdouble x
, +gdouble y
, +gdouble length
, +gdouble width
);Add a vertical line to barcode. Coordinates are relative to top left corner +of barcode. All units are in points ( 1 point = 1/72 inch ).
+++ This function is intended to be used internally by barcode implementations. +
++Parameters
+++
+ + ++ + + + ++ bc
+ An lglBarcode structure
 ++ ++ x
+ x coordinate of top of line
 ++ ++ y
+ y coordinate of top of line
 ++ ++ length
+ Length of line
 ++ + ++ width
+ Width of line
 +
+++lgl_barcode_add_box ()
+void +lgl_barcode_add_box (+lglBarcode *bc
, +gdouble x
, +gdouble y
, +gdouble width
, +gdouble height
);Add a box to barcode. Coordinates are relative to top left corner +of barcode. All units are in points ( 1 point = 1/72 inch ).
+++ This function is intended to be used internally by barcode implementations. +
++Parameters
+++
+ + ++ + + + ++ bc
+ An lglBarcode structure
 ++ ++ x
+ x coordinate of top left corner of box
 ++ ++ y
+ y coordinate of top left corner of box
 ++ ++ width
+ Width of box
 ++ + ++ height
+ Height of box
 +
+++lgl_barcode_add_char ()
+void +lgl_barcode_add_char (+lglBarcode *bc
, +gdouble x
, +gdouble y
, +gdouble fsize
, +gchar c
);Add an ASCII character to barcode. Coordinates are relative to top left corner +of barcode. All units are in points ( 1 point = 1/72 inch ).
+++ This function is intended to be used internally by barcode implementations. +
++Parameters
+++
+ + ++ + + + ++ bc
+ An lglBarcode structure
 ++ ++ x
+ x coordinate of left baseline of character
 ++ ++ y
+ y coordinate of left baseline of character
 ++ ++ fsize
+ Font size
 ++ + ++ c
+ Character to add
 +
+++lgl_barcode_add_string ()
+void +lgl_barcode_add_string (+lglBarcode *bc
, +gdouble x
, +gdouble y
, +gdouble fsize
, +gchar *string
, +gsize length
);Add a character string to barcode. Coordinates are relative to top left corner +of barcode. All units are in points ( 1 point = 1/72 inch ).
+++ This function is intended to be used internally by barcode implementations. +
++Parameters
+++
+ + ++ + + + ++ bc
+ An lglBarcode structure
 ++ ++ x
+ x coordinate of horizontal center of baseline of string
 ++ ++ y
+ y coordinate of horizontal center of baseline of string
 ++ ++ fsize
+ Font size
 ++ ++ string
+ String to add
 ++ + ++ length
+ Number of bytes in string
 +
+++lgl_barcode_add_ring ()
+void +lgl_barcode_add_ring (+lglBarcode *bc
, +gdouble x
, +gdouble y
, +gdouble radius
, +gdouble line_width
);Add a ring to barcode. Coordinates are relative to top left corner +of barcode. All units are in points ( 1 point = 1/72 inch ).
+++ This function is intended to be used internally by barcode implementations. +
++Parameters
+++
+ + ++ + + + ++ bc
+ An lglBarcode structure
 ++ ++ x
+ x coordinate of center of circle
 ++ ++ y
+ y coordinate of center of circle
 ++ ++ radius
+ Radius of ring (center of line)
 ++ + ++ line_width
+ Width of line
 +
+++lgl_barcode_add_hexagon ()
+void +lgl_barcode_add_hexagon (+lglBarcode *bc
, +gdouble x
, +gdouble y
, +gdouble height
);Add a regular hexagon (oriented with vertexes at top and bottom) to barcode. +Coordinates are relative to top left corner of barcode. All units are in +points ( 1 point = 1/72 inch ).
+++ This function is intended to be used internally by barcode implementations. +
++Parameters
+++
+ + ++ + + + ++ bc
+ An lglBarcode structure
 ++ ++ x
+ x coordinate of top point of hexagon
 ++ ++ y
+ y coordinate of top point of hexagon
 ++ + ++ height
+ Height of hexagon
 ++Types and Values
lglBarcode
typedef struct { @@ -106,108 +542,90 @@ The section also defines a set of functions for constructing an --This structure contains the libglbarcode intermediate barcode format. This +
This structure contains the libglbarcode intermediate barcode format. This structure contains a simple vectorized representation of the barcode. This vectorized representation is easy to interpret by a rendering backend for either vector or raster formats. A simple API is provided for constructing -barcodes in this format. -
-