mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22:55 +00:00
const-ify QFreetypeFace::addGlyphToPath() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9a26963695
commit
b9014939ce
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ QFreetypeFace::~QFreetypeFace()
|
|||
FT_Done_FreeType(library);
|
||||
}
|
||||
|
||||
void QFreetypeFace::addGlyphToPath(FT_Outline outline, const QFixedPoint &point, QPainterPath *path)
|
||||
void QFreetypeFace::addGlyphToPath(const FT_Outline &outline, const QFixedPoint &point, QPainterPath *path)
|
||||
{
|
||||
static const qreal factor = (1.0 / 64.0);
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ public:
|
|||
FT_Face face;
|
||||
FT_Library library;
|
||||
|
||||
static void addGlyphToPath(FT_Outline outline, const QFixedPoint &point, QPainterPath *path);
|
||||
static void addGlyphToPath(const FT_Outline &outline, const QFixedPoint &point, QPainterPath *path);
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(QFreetypeFace);
|
||||
|
|
Loading…
Add table
Reference in a new issue