/external/skqp/src/gpu/ |
D | GrGlyph.h | 73 SkRect destRect(SkPoint origin, SkScalar textScale) { in destRect() 76 SkIntToScalar(fBounds.fLeft) * textScale + origin.x(), in destRect() 77 SkIntToScalar(fBounds.fTop) * textScale + origin.y(), in destRect() 78 SkIntToScalar(fBounds.width()) * textScale, in destRect() 79 SkIntToScalar(fBounds.height()) * textScale); in destRect() 82 (SkIntToScalar(fBounds.fLeft) + SK_DistanceFieldInset) * textScale + origin.x(), in destRect() 83 (SkIntToScalar(fBounds.fTop) + SK_DistanceFieldInset) * textScale + origin.y(), in destRect() 84 (SkIntToScalar(fBounds.width()) - 2 * SK_DistanceFieldInset) * textScale, in destRect() 85 (SkIntToScalar(fBounds.height()) - 2 * SK_DistanceFieldInset) * textScale); in destRect()
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 175 SkScalar textScale = pathFont.setupForAsPaths(&pathPaint); in drawForBitmapDevice() local 204 textScale, pathPaint); in drawForBitmapDevice() 258 const SkMatrix& viewMatrix, SkScalar textScale, ARGBFallback argbFallback) { in processARGBFallback() argument 265 SkScalar conservativeMaxGlyphDimension = maxGlyphDimension * textScale * maxScale; in processARGBFallback() 337 SkPoint origin, const SkPaint& runPaint, const SkMatrix& viewMatrix, SkScalar textScale, in drawGlyphRunAsPathWithARGBFallback() argument 365 maxFallbackDimension, runPaint, glyphRun.font(), viewMatrix, textScale, in drawGlyphRunAsPathWithARGBFallback() 435 SkPoint origin, const SkPaint& runPaint, const SkMatrix& viewMatrix, SkScalar textScale, in drawGlyphRunAsSDFWithARGBFallback() argument 473 maxFallbackDimension, runPaint, glyphRun.font(), viewMatrix, textScale, in drawGlyphRunAsSDFWithARGBFallback() 675 SkScalar textScale) { in appendSourceSpaceGlyph() argument 678 SkRect glyphRect = glyph->destRect(origin, textScale); in appendSourceSpaceGlyph() [all …]
|
D | SkGlyphRunPainter.h | 107 SkPoint origin, const SkPaint& paint, const SkMatrix& viewMatrix, SkScalar textScale, 133 const SkMatrix& viewMatrix, SkScalar textScale, ARGBFallback argbFallback);
|
/external/skia/docs/examples/ |
D | SkFontMgr_example2.cpp | 16 float textScale = 24; in draw() local 31 tostr(fontStyle.slant()), textScale); in draw() 32 SkFont font(mgr->legacyMakeTypeface(familyName.c_str(), fontStyle), textScale); in draw()
|
/external/skia/gm/ |
D | glyph_pos.cpp | 30 SkScalar textScale, 88 SkScalar textScale, in drawTestCase() argument 97 SkFont font(ToolUtils::create_portable_typeface(), kTextHeight * textScale); in drawTestCase()
|
/external/skqp/gm/ |
D | glyph_pos.cpp | 23 SkScalar textScale, 81 SkScalar textScale, in drawTestCase() argument 90 SkFont font(sk_tool_utils::create_portable_typeface(), kTextHeight * textScale); in drawTestCase()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 235 SkScalar textScale = 0) in ScopedContentEntry() argument 246 fDevice->setUpContentEntry(clipStack, matrix, paint, textScale, &fDstFormXObject); in ScopedContentEntry() 248 ScopedContentEntry(SkPDFDevice* dev, const SkPaint& paint, SkScalar textScale = 0) in ScopedContentEntry() argument 249 : ScopedContentEntry(dev, &dev->cs(), dev->localToDevice(), paint, textScale) {} in ScopedContentEntry() 1140 SkScalar textScale, in populate_graphic_state_entry_from_paint() argument 1205 entry->fTextScaleX = textScale; in populate_graphic_state_entry_from_paint() 1211 SkScalar textScale, in setUpContentEntry() argument 1260 textScale, in setUpContentEntry()
|
/external/skqp/src/pdf/ |
D | SkPDFDevice.cpp | 400 SkScalar textScale = 0) in ScopedContentEntry() argument 411 fDevice->setUpContentEntry(clipStack, matrix, paint, textScale, &fDstFormXObject); in ScopedContentEntry() 413 ScopedContentEntry(SkPDFDevice* dev, const SkPaint& paint, SkScalar textScale = 0) in ScopedContentEntry() argument 414 : ScopedContentEntry(dev, &dev->cs(), dev->ctm(), paint, textScale) {} in ScopedContentEntry() 1493 SkScalar textScale, in populate_graphic_state_entry_from_paint() argument 1558 entry->fTextScaleX = textScale; in populate_graphic_state_entry_from_paint() 1564 SkScalar textScale, in setUpContentEntry() argument 1613 textScale, in setUpContentEntry()
|
/external/skqp/src/gpu/text/ |
D | GrTextBlob.h | 446 SkScalar textScale);
|