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:
@@ -81,8 +81,8 @@ namespace glbarcode
|
||||
|
||||
|
||||
|
||||
DrawingPrimitiveText::DrawingPrimitiveText( double x, double y, double size, const std::string& text )
|
||||
: DrawingPrimitive( x, y ), mSize(size), mText(text)
|
||||
DrawingPrimitiveText::DrawingPrimitiveText( double x, double y, double size, const std::string& text, HAlign halign )
|
||||
: DrawingPrimitive( x, y ), mSize(size), mText(text), mHalign(halign)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -99,6 +99,12 @@ namespace glbarcode
|
||||
}
|
||||
|
||||
|
||||
HAlign DrawingPrimitiveText::halign() const
|
||||
{
|
||||
return mHalign;
|
||||
}
|
||||
|
||||
|
||||
|
||||
DrawingPrimitiveRing::DrawingPrimitiveRing( double x, double y, double r, double w )
|
||||
: DrawingPrimitive( x, y ), mR(r), mW(w)
|
||||
|
||||
Reference in New Issue
Block a user