Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkAnalyticEdge.cpp256 SkFDot6 dy = SkFixedToFDot6(y1 - y0); in setLine()
260 SkFDot6 dx = SkFixedToFDot6(x1 - x0); in setLine()
301 SkFDot6 dx = SkFixedToFDot6(x1 - x0); in updateLine()
302 SkFDot6 dy = SkFixedToFDot6(y1 - y0); in updateLine()
311 SkFDot6 absSlope = SkAbs32(SkFixedToFDot6(slope)); in updateLine()
383 SkFDot6 diffY = SkFixedToFDot6(newy - fSnappedY); in updateQuadratic()
384 slope = diffY ? quick_div(SkFixedToFDot6(newx - fSnappedX), diffY) in updateQuadratic()
391 SkFDot6 diffY = SkFixedToFDot6(newSnappedY - fSnappedY); in updateQuadratic()
392 slope = diffY ? quick_div(SkFixedToFDot6(newx - fSnappedX), diffY) in updateQuadratic()
496 SkFixed slope = SkFixedToFDot6(newSnappedY - fSnappedY) == 0 in updateCubic()
[all …]
DSkFDot6.h56 #define SkFixedToFDot6(x) ((x) >> 10) macro
/external/skqp/src/core/
DSkAnalyticEdge.cpp256 SkFDot6 dy = SkFixedToFDot6(y1 - y0); in setLine()
260 SkFDot6 dx = SkFixedToFDot6(x1 - x0); in setLine()
301 SkFDot6 dx = SkFixedToFDot6(x1 - x0); in updateLine()
302 SkFDot6 dy = SkFixedToFDot6(y1 - y0); in updateLine()
311 SkFDot6 absSlope = SkAbs32(SkFixedToFDot6(slope)); in updateLine()
383 SkFDot6 diffY = SkFixedToFDot6(newy - fSnappedY); in updateQuadratic()
384 slope = diffY ? quick_div(SkFixedToFDot6(newx - fSnappedX), diffY) in updateQuadratic()
391 SkFDot6 diffY = SkFixedToFDot6(newSnappedY - fSnappedY); in updateQuadratic()
392 slope = diffY ? quick_div(SkFixedToFDot6(newx - fSnappedX), diffY) in updateQuadratic()
496 SkFixed slope = SkFixedToFDot6(newSnappedY - fSnappedY) == 0 in updateCubic()
[all …]
DSkFDot6.h56 #define SkFixedToFDot6(x) ((x) >> 10) macro
/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp386 dx = SkFixedToFDot6(glyph.getSubXFixed()); in generateGlyphImage()
387 dy = SkFixedToFDot6(glyph.getSubYFixed()); in generateGlyphImage()
DSkFontHost_FreeType.cpp1076 int dx = SkFixedToFDot6(glyph->getSubXFixed()); in getBBoxForCurrentGlyph()
1077 int dy = SkFixedToFDot6(glyph->getSubYFixed()); in getBBoxForCurrentGlyph()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp386 dx = SkFixedToFDot6(glyph.getSubXFixed()); in generateGlyphImage()
387 dy = SkFixedToFDot6(glyph.getSubYFixed()); in generateGlyphImage()
DSkFontHost_FreeType.cpp1076 int dx = SkFixedToFDot6(glyph->getSubXFixed()); in getBBoxForCurrentGlyph()
1077 int dy = SkFixedToFDot6(glyph->getSubYFixed()); in getBBoxForCurrentGlyph()