added GlyphGeometry::setInverseYAxis(bool)
This commit is contained in:
parent
30b6f4fd1a
commit
6c1d59c624
|
|
@ -213,6 +213,10 @@ const msdfgen::Shape &GlyphGeometry::getShape() const {
|
|||
return shape;
|
||||
}
|
||||
|
||||
void GlyphGeometry::setInverseYAxis(bool inverse) {
|
||||
shape.inverseYAxis = inverse;
|
||||
}
|
||||
|
||||
const msdfgen::Shape::Bounds &GlyphGeometry::getShapeBounds() const {
|
||||
return bounds;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@ public:
|
|||
double getGeometryScale() const;
|
||||
/// Returns the glyph's shape
|
||||
const msdfgen::Shape &getShape() const;
|
||||
/// Sets the glyph's flag for inverting the y-axis
|
||||
void setInverseYAxis(bool inverse);
|
||||
/// Returns the glyph's shape's raw bounds
|
||||
const msdfgen::Shape::Bounds &getShapeBounds() const;
|
||||
/// Returns the glyph's advance
|
||||
|
|
|
|||
Loading…
Reference in New Issue