Lines Matching defs:font
1287 SkFont* font, Viewer::SkFontFields* ffields)
1291 , fFont(font)
1300 SkTCopyOnFirstWrite<SkFont> filteredFont(it.font());
1302 if (it.font() != *filteredFont || !shouldDraw) {
1313 SkTCopyOnFirstWrite<SkFont> filteredFont(it.font());
1319 SkFont font = *filteredFont;
1323 ? builder.allocRunText(font, it.glyphCount(), it.offset().x(),it.offset().y(),
1326 ? builder.allocRunTextPosH(font, it.glyphCount(), it.offset().y(),
1329 ? builder.allocRunTextPos(font, it.glyphCount(), it.textSize())
1331 ? builder.allocRunTextRSXform(font, it.glyphCount(), it.textSize())
1362 bool filterFont(SkTCopyOnFirstWrite<SkFont>* font) const {
1364 font->writable()->setTypeface(fFont->refTypeface());
1367 font->writable()->setSize(fFont->getSize());
1370 font->writable()->setScaleX(fFont->getScaleX());
1373 font->writable()->setSkewX(fFont->getSkewX());
1376 font->writable()->setHinting(fFont->getHinting());
1379 font->writable()->setEdging(fFont->getEdging());
1382 font->writable()->setSubpixel(fFont->isSubpixel());
1385 font->writable()->setForceAutoHinting(fFont->isForceAutoHinting());
1388 font->writable()->setEmbeddedBitmaps(fFont->isEmbeddedBitmaps());
1391 font->writable()->setLinearMetrics(fFont->isLinearMetrics());
1394 font->writable()->setEmbolden(fFont->isEmbolden());
1397 font->writable()->setBaselineSnap(fFont->isBaselineSnap());