Make lockAspectRatio (sizeAspectCheck) per-object (#63)
* Make lockAspectRatio (sizeAspectCheck) per-object * Added unit tests for XmlLabelCreator and XmlLabelParser.
This commit is contained in:
@@ -89,13 +89,14 @@ namespace glabels
|
||||
const Distance& y0,
|
||||
const Distance& w,
|
||||
const Distance& h,
|
||||
bool lockAspectRatio,
|
||||
const barcode::Style& bcStyle,
|
||||
bool bcTextFlag,
|
||||
bool bcChecksumFlag,
|
||||
QString bcData,
|
||||
const ColorNode& bcColorNode,
|
||||
const QMatrix& matrix )
|
||||
: ModelObject( x0, y0, w, h, matrix )
|
||||
: ModelObject( x0, y0, w, h, lockAspectRatio, matrix )
|
||||
{
|
||||
mOutline = new Outline( this );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user