Support libzint >= 2.15 (#225,#222,#186))
- Update libzint support for 2.15 as new baseline version, removing support for earlier versions, avoiding '#ifdef'-hell - Based on #186 --------- Co-authored-by: gitlost <burmartke@gmail.com>
This commit is contained in:
+7
-5
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Enums.h"
|
||||
#include "Renderer.h"
|
||||
|
||||
|
||||
@@ -215,12 +216,13 @@ namespace glbarcode
|
||||
*
|
||||
* @image html figure-primitive-text.svg "Text primitive properties"
|
||||
*
|
||||
* @param[in] x X coordinate of text's origin (points)
|
||||
* @param[in] y Y coordinate of text's origin (points)
|
||||
* @param[in] size Font size of text (points)
|
||||
* @param[in] text Text
|
||||
* @param[in] x X coordinate of text's origin (points)
|
||||
* @param[in] y Y coordinate of text's origin (points)
|
||||
* @param[in] size Font size of text (points)
|
||||
* @param[in] text Text
|
||||
* @param[in] halign Horizontal text alignment
|
||||
*/
|
||||
void addText( double x, double y, double size, const std::string& text );
|
||||
void addText( double x, double y, double size, const std::string& text, HAlign halign = H_ALIGN_CENTER );
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user