Home | History | Annotate | Download | only in layout

Lines Matching refs:fontInstance

15 void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance,
23 f1->getAnchor(fontInstance, anchor);
31 f2->getAnchor(glyphID, fontInstance, anchor);
39 f3->getAnchor(fontInstance, anchor);
47 f1->getAnchor(fontInstance, anchor);
52 void Format1AnchorTable::getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const
58 fontInstance->transformFunits(x, y, pixels);
60 fontInstance->pixelsToUnits(pixels, anchor);
63 void Format2AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const
67 if (! fontInstance->getGlyphPoint(glyphID, SWAPW(anchorPoint), point)) {
71 fontInstance->transformFunits(x, y, point);
75 fontInstance->pixelsToUnits(point, anchor);
78 void Format3AnchorTable::getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const
86 fontInstance->transformFunits(x, y, pixels);
90 le_int16 adjx = dtx->getAdjustment((le_int16) fontInstance->getXPixelsPerEm());
97 le_int16 adjy = dty->getAdjustment((le_int16) fontInstance->getYPixelsPerEm());
102 fontInstance->pixelsToUnits(pixels, anchor);