Lines Matching refs:fontInstance
40 void AnchorTable::getAnchor(const LETableReference &base, LEGlyphID glyphID, const LEFontInstance *fontInstance,
48 f1->getAnchor(f1, fontInstance, anchor, success);
57 f2->getAnchor(f2, glyphID, fontInstance, anchor, success);
66 f3->getAnchor(f3, fontInstance, anchor, success);
76 f1->getAnchor(f1, fontInstance, anchor, success);
83 void Format1AnchorTable::getAnchor(const LEReferenceTo<Format1AnchorTable>& base, const LEFontInstance *fontInstance, LEPoint &anchor, LEErrorCode &success) const
89 fontInstance->transformFunits(x, y, pixels);
90 fontInstance->pixelsToUnits(pixels, anchor);
94 LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor
99 if (! fontInstance->getGlyphPoint(glyphID, SWAPW(anchorPoint), point)) {
103 fontInstance->transformFunits(x, y, point);
107 fontInstance->pixelsToUnits(point, anchor);
110 void Format3AnchorTable::getAnchor(const LEReferenceTo<Format3AnchorTable> &base, const LEFontInstance *fontInstance,
119 fontInstance->transformFunits(x, y, pixels);
124 le_int16 adjx = dt->getAdjustment(dt, (le_int16) fontInstance->getXPixelsPerEm(), success);
132 le_int16 adjy = dt->getAdjustment(dt, (le_int16) fontInstance->getYPixelsPerEm(), success);
137 fontInstance->pixelsToUnits(pixels, anchor);