Home
last modified time | relevance | path

Searched refs:SkFloatToScalar (Results 1 – 18 of 18) sorted by relevance

/external/skqp/src/core/
DSkFindAndPlaceGlyph.h241 return position + SkPoint{SkFloatToScalar(renderGlyph.fAdvanceX), in findAndPositionGlyph()
242 SkFloatToScalar(renderGlyph.fAdvanceY)}; in findAndPositionGlyph()
265 return finalPosition + SkPoint{SkFloatToScalar(glyph.fAdvanceX), in findAndPositionGlyph()
266 SkFloatToScalar(glyph.fAdvanceY)}; in findAndPositionGlyph()
DSkTextBlob.cpp897 return SkFloatToScalar(glyph.fAdvanceX); in advance()
/external/skia/src/utils/mac/
DSkCGBase.h29 return CGFLOAT_IS_DOUBLE ? SkDoubleToScalar(cgFloat) : SkFloatToScalar(cgFloat); in SkScalarFromCGFloat()
/external/skia/tools/fonts/
DTestTypeface.cpp167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
DTestSVGTypeface.cpp190 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
/external/skqp/tools/fonts/
DSkTestTypeface.cpp203 const SkVector advance = fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), in generateAdvance()
204 SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
DSkTestSVGTypeface.cpp187 const SkVector advance = fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), in generateAdvance()
188 SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
/external/skqp/gm/
Dbigrect.cpp100 const SkScalar big = SkFloatToScalar(sizes[j]);
/external/skia/gm/
Dbigrect.cpp105 const SkScalar big = SkFloatToScalar(sizes[j]);
/external/skqp/src/pdf/
DSkPDFFont.cpp687 advance = SkFloatToScalar(glyph.fAdvanceX); in emit_subset_type3()
694 setGlyphWidthAndBoundingBox(SkFloatToScalar(glyph.fAdvanceX), glyphBBox, &content); in emit_subset_type3()
700 setGlyphWidthAndBoundingBox(SkFloatToScalar(glyph.fAdvanceX), glyphBBox, in emit_subset_type3()
704 SkPDFUtils::AppendScalar(SkFloatToScalar(glyph.fAdvanceX), &content); in emit_subset_type3()
/external/skia/include/core/
DSkScalar.h61 #define SkFloatToScalar(x) static_cast<SkScalar>(x) macro
/external/skqp/include/core/
DSkScalar.h61 #define SkFloatToScalar(x) static_cast<SkScalar>(x) macro
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp37 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i]))); in verify_floats()
DGrGLPath.cpp85 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i]))); in verify_floats()
/external/skia/src/gpu/
DGrTriangulator.cpp124 p->fX = SkScalarRoundToScalar(p->fX * SkFloatToScalar(4.0f)) * SkFloatToScalar(0.25f); in round()
125 p->fY = SkScalarRoundToScalar(p->fY * SkFloatToScalar(4.0f)) * SkFloatToScalar(0.25f); in round()
/external/skia/src/pdf/
DSkPDFTypes.cpp223 return SkPDFUnion(Type::kColorComponentF, SkFloatToScalar(value)); in ColorComponentF()
/external/skqp/src/gpu/
DGrTessellator.cpp267 p->fX = SkScalarRoundToScalar(p->fX * SkFloatToScalar(4.0f)) * SkFloatToScalar(0.25f); in round()
268 p->fY = SkScalarRoundToScalar(p->fY * SkFloatToScalar(4.0f)) * SkFloatToScalar(0.25f); in round()
/external/skqp/src/ports/
DSkFontHost_mac.cpp170 return SkFloatToScalar(cgFloat); in CGToScalar()