Home
last modified time | relevance | path

Searched refs:SkFixedToFloat (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkColorSpace_ICC.cpp162 color_space_almost_equal(SkFixedToFloat(fIlluminantXYZ[0]), kWhitePointD50[0]) && in valid()
163 color_space_almost_equal(SkFixedToFloat(fIlluminantXYZ[1]), kWhitePointD50[1]) && in valid()
164 color_space_almost_equal(SkFixedToFloat(fIlluminantXYZ[2]), kWhitePointD50[2]), in valid()
238 dst[0] = SkFixedToFloat(read_big_endian_i32(src + 8)); in load_xyz()
239 dst[1] = SkFixedToFloat(read_big_endian_i32(src + 12)); in load_xyz()
240 dst[2] = SkFixedToFloat(read_big_endian_i32(src + 16)); in load_xyz()
266 return SkFixedToFloat(read_big_endian_i32(buf)); in read_big_endian_16_dot_16()
685 array[ 0] = encodingFactor * SkFixedToFloat(read_big_endian_i32(src)); in load_matrix()
686 array[ 1] = encodingFactor * SkFixedToFloat(read_big_endian_i32(src + 4)); in load_matrix()
687 array[ 2] = encodingFactor * SkFixedToFloat(read_big_endian_i32(src + 8)); in load_matrix()
[all …]
DSkAnalyticEdge.h86 fUpperY, fLowerY, SkFixedToFloat(fY), SkFixedToFloat(fX), in dump()
87 SkFixedToFloat(fDX), fWinding); in dump()
DSkEdge.h51 …e: firstY:%d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixedToFloat(fDX)… in dump()
/external/skia/include/private/
DSkFixed.h33 #define SkFixedToFloat(x) ((x) * 1.52587890625e-5f) macro
131 #define SkFixedToScalar(x) SkFixedToFloat(x)
/external/skia/src/fonts/
DSkTestScalerContext.cpp127 glyph->fAdvanceX = SkFixedToFloat(fTestFont->fWidths[glyph->getGlyphID()]); in getAdvance()
137 glyph->fAdvanceX = SkFixedToFloat(fTestFont->fWidths[glyph->getGlyphID()]); in getMetrics()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp439 fXform.dx = SkFixedToFloat(glyph->getSubXFixed()); in getBoundingBox()
440 fXform.dy = SkFixedToFloat(glyph->getSubYFixed()); in getBoundingBox()
764 fXform.dx = SkFixedToFloat(glyph.getSubXFixed()); in drawDWMask()
765 fXform.dy = SkFixedToFloat(glyph.getSubYFixed()); in drawDWMask()
DSkFontHost_mac.cpp901 subX = SkFixedToFloat(glyph.getSubXFixed()); in getCG()
902 subY = SkFixedToFloat(glyph.getSubYFixed()); in getCG()
1036 skBounds.fRight += SkFixedToFloat(glyph->getSubXFixed()); in generateMetrics()
1037 skBounds.fBottom += SkFixedToFloat(glyph->getSubYFixed()); in generateMetrics()
DSkFontHost_win.cpp591 return SkFixedToFloat(SkFIXEDToFixed(x)); in FIXED2float()