Searched refs:SkFloatToScalar (Results 1 – 18 of 18) sorted by relevance
/external/skqp/src/core/ |
D | SkFindAndPlaceGlyph.h | 241 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()
|
D | SkTextBlob.cpp | 897 return SkFloatToScalar(glyph.fAdvanceX); in advance()
|
/external/skia/src/utils/mac/ |
D | SkCGBase.h | 29 return CGFLOAT_IS_DOUBLE ? SkDoubleToScalar(cgFloat) : SkFloatToScalar(cgFloat); in SkScalarFromCGFloat()
|
/external/skia/tools/fonts/ |
D | TestTypeface.cpp | 167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
|
D | TestSVGTypeface.cpp | 190 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
|
/external/skqp/tools/fonts/ |
D | SkTestTypeface.cpp | 203 const SkVector advance = fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), in generateAdvance() 204 SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
|
D | SkTestSVGTypeface.cpp | 187 const SkVector advance = fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), in generateAdvance() 188 SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
|
/external/skqp/gm/ |
D | bigrect.cpp | 100 const SkScalar big = SkFloatToScalar(sizes[j]);
|
/external/skia/gm/ |
D | bigrect.cpp | 105 const SkScalar big = SkFloatToScalar(sizes[j]);
|
/external/skqp/src/pdf/ |
D | SkPDFFont.cpp | 687 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/ |
D | SkScalar.h | 61 #define SkFloatToScalar(x) static_cast<SkScalar>(x) macro
|
/external/skqp/include/core/ |
D | SkScalar.h | 61 #define SkFloatToScalar(x) static_cast<SkScalar>(x) macro
|
/external/skqp/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 37 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i]))); in verify_floats()
|
D | GrGLPath.cpp | 85 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i]))); in verify_floats()
|
/external/skia/src/gpu/ |
D | GrTriangulator.cpp | 124 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/ |
D | SkPDFTypes.cpp | 223 return SkPDFUnion(Type::kColorComponentF, SkFloatToScalar(value)); in ColorComponentF()
|
/external/skqp/src/gpu/ |
D | GrTessellator.cpp | 267 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/ |
D | SkFontHost_mac.cpp | 170 return SkFloatToScalar(cgFloat); in CGToScalar()
|