mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
mark constant as static in QFreetypeFace::addGlyphToPath()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
497c69c1a8
commit
f5c6bc5f97
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ static void scaleOutline(FT_Face face, FT_GlyphSlot g, FT_Fixed x_scale, FT_Fixe
|
|||
|
||||
void QFreetypeFace::addGlyphToPath(FT_Face face, FT_GlyphSlot g, const QFixedPoint &point, QPainterPath *path, FT_Fixed x_scale, FT_Fixed y_scale)
|
||||
{
|
||||
const qreal factor = 1/64.;
|
||||
static const qreal factor = (1.0 / 64.0);
|
||||
scaleOutline(face, g, x_scale, y_scale);
|
||||
|
||||
QPointF cp = point.toPointF();
|
||||
|
|
Loading…
Add table
Reference in a new issue