Home
last modified time | relevance | path

Searched refs:SK_DistanceFieldInset (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/text/
DGrAtlasTextBlob_regenInBatch.cpp33 u0 = glyph->fAtlasLocation.fX + SK_DistanceFieldInset; in regen_vertices()
34 v0 = glyph->fAtlasLocation.fY + SK_DistanceFieldInset; in regen_vertices()
35 u1 = u0 + width - 2 * SK_DistanceFieldInset; in regen_vertices()
36 v1 = v0 + height - 2 * SK_DistanceFieldInset; in regen_vertices()
DGrTextUtils.cpp447 SkScalar dx = SkIntToScalar(glyph->fBounds.fLeft + SK_DistanceFieldInset); in DfAppendGlyph()
448 SkScalar dy = SkIntToScalar(glyph->fBounds.fTop + SK_DistanceFieldInset); in DfAppendGlyph()
449 SkScalar width = SkIntToScalar(glyph->fBounds.width() - 2 * SK_DistanceFieldInset); in DfAppendGlyph()
450 SkScalar height = SkIntToScalar(glyph->fBounds.height() - 2 * SK_DistanceFieldInset); in DfAppendGlyph()
/external/skia/src/gpu/batches/
DGrAADistanceFieldPathRenderer.cpp422 SkIntToScalar(devPathBounds.width() - 2*SK_DistanceFieldInset); in addPathToAtlas()
424 SkIntToScalar(devPathBounds.height() - 2*SK_DistanceFieldInset); in addPathToAtlas()
427 scaledBounds.offset(-SkIntToScalar(SK_DistanceFieldInset) - kAntiAliasPad + dx, in addPathToAtlas()
428 -SkIntToScalar(SK_DistanceFieldInset) - kAntiAliasPad + dy); in addPathToAtlas()
431 atlasLocation.fX += SK_DistanceFieldInset; in addPathToAtlas()
432 atlasLocation.fY += SK_DistanceFieldInset; in addPathToAtlas()
/external/skia/src/core/
DSkDistanceFieldGen.h19 #define SK_DistanceFieldInset 2 macro