Home
last modified time | relevance | path

Searched refs:SkIntToFixed (Results 1 – 13 of 13) sorted by relevance

/external/skia/samplecode/
DSampleOverflow.cpp22 skclip.set(SkIntToFixed(284), SkIntToFixed(40), SkIntToFixed(1370), SkIntToFixed(708)); in DrawRoundRect()
DSampleImageDir.cpp64 skclip.set(SkIntToFixed(284), SkIntToFixed(40), SkIntToFixed(1370), SkIntToFixed(708)); in DrawRoundRect()
/external/skia/include/core/
DSkScan.h92 xr->fLeft = SkIntToFixed(src.fLeft); in XRect_set()
93 xr->fTop = SkIntToFixed(src.fTop); in XRect_set()
94 xr->fRight = SkIntToFixed(src.fRight); in XRect_set()
95 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set()
DSkFixed.h72 inline SkFixed SkIntToFixed(int n) in SkIntToFixed() function
79 #define SkIntToFixed(n) (SkFixed)((n) << 16) macro
DSkScalar.h229 #define SkIntToScalar(n) SkIntToFixed(n)
/external/skia/src/ports/
DSkFontHost_ascender.cpp146 glyph->fAdvanceX = SkIntToFixed(adv); in generateMetrics()
147 glyph->fAdvanceY = SkIntToFixed(0); in generateMetrics()
DSkFontHost_win.cpp423 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics()
424 glyph->fAdvanceY = -SkIntToFixed(gm.gmCellIncY); in generateMetrics()
/external/skia/src/effects/
DSkGradientShader.cpp477 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache()
478 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()
479 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build16bitCache()
481 r = SkIntToFixed(r) + 0x8000; in Build16bitCache()
482 g = SkIntToFixed(g) + 0x8000; in Build16bitCache()
483 b = SkIntToFixed(b) + 0x8000; in Build16bitCache()
525 da = SkIntToFixed(tmp - a) / (count - 1); in Build32bitCache()
531 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build32bitCache()
532 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build32bitCache()
533 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build32bitCache()
[all …]
/external/skia/gpu/include/
DGrScalar.h29 #define GrIntToFixed(a) SkIntToFixed(a)
/external/skia/tests/
DClampRangeTest.cpp82 #define ff(x) SkIntToFixed(x)
/external/webkit/Source/WebKit/android/nav/
DSelectText.cpp199 SkFixed lineHeight = SkIntToFixed(bottom() - top()); in addNewLine()
264 SkFixed ceilWidth = SkIntToFixed(SkScalarCeil(firstWidth)); in isSpace()
266 SkFixed ceilSpace = SkIntToFixed(SkFixedCeil(minSpaceWidth(mLastPaint))); in isSpace()
/external/skia/src/core/
DSkDraw.cpp2467 rec.fLSB.set(SkIntToFixed(x), SkIntToFixed(y)); in doIRectGlyph()
DSkBitmap.cpp1203 return SkIntToFixed(15 - clz) + ((unsigned)(sx << (clz + 1)) >> 16); in ComputeMipLevel()