Searched refs:SkIntToFixed (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/skia/src/gpu/
H A DGrBitmapTextContext.cpp141 vx += SkIntToFixed(glyph->fBounds.fLeft);
142 vy += SkIntToFixed(glyph->fBounds.fTop);
198 translate.setTranslate(SkFixedToScalar(vx - SkIntToFixed(glyph->fBounds.fLeft)),
199 SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop)));
213 width = SkIntToFixed(width);
214 height = SkIntToFixed(height);
257 GrFixed tx = SkIntToFixed(glyph->fAtlasLocation.fX);
258 GrFixed ty = SkIntToFixed(glyph->fAtlasLocation.fY);
H A DGrDistanceFieldTextContext.cpp138 vx += SkIntToFixed(glyph->fBounds.fLeft);
139 vy += SkIntToFixed(glyph->fBounds.fTop);
262 GrFixed tx = SkIntToFixed(glyph->fAtlasLocation.fX);
263 GrFixed ty = SkIntToFixed(glyph->fAtlasLocation.fY);
264 GrFixed tw = SkIntToFixed(glyph->fBounds.width());
265 GrFixed th = SkIntToFixed(glyph->fBounds.height());
/external/skia/src/gpu/
H A DGrBitmapTextContext.cpp141 vx += SkIntToFixed(glyph->fBounds.fLeft);
142 vy += SkIntToFixed(glyph->fBounds.fTop);
198 translate.setTranslate(SkFixedToScalar(vx - SkIntToFixed(glyph->fBounds.fLeft)),
199 SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop)));
213 width = SkIntToFixed(width);
214 height = SkIntToFixed(height);
257 GrFixed tx = SkIntToFixed(glyph->fAtlasLocation.fX);
258 GrFixed ty = SkIntToFixed(glyph->fAtlasLocation.fY);
H A DGrDistanceFieldTextContext.cpp138 vx += SkIntToFixed(glyph->fBounds.fLeft);
139 vy += SkIntToFixed(glyph->fBounds.fTop);
262 GrFixed tx = SkIntToFixed(glyph->fAtlasLocation.fX);
263 GrFixed ty = SkIntToFixed(glyph->fAtlasLocation.fY);
264 GrFixed tw = SkIntToFixed(glyph->fBounds.width());
265 GrFixed th = SkIntToFixed(glyph->fBounds.height());
/external/chromium_org/third_party/skia/src/core/
H A DSkScan.h102 xr->fLeft = SkIntToFixed(src.fLeft);
103 xr->fTop = SkIntToFixed(src.fTop);
104 xr->fRight = SkIntToFixed(src.fRight);
105 xr->fBottom = SkIntToFixed(src.fBottom);
H A DSkMipMap.cpp241 return SkIntToFixed(15 - clz) + ((unsigned)(s << (clz + 1)) >> 16);
H A DSkBitmap.cpp1435 return SkIntToFixed(15 - clz) + ((unsigned)(sx << (clz + 1)) >> 16);
H A DSkDraw.cpp2726 rec.fLSB.set(SkIntToFixed(x), SkIntToFixed(y));
/external/skia/src/core/
H A DSkScan.h102 xr->fLeft = SkIntToFixed(src.fLeft);
103 xr->fTop = SkIntToFixed(src.fTop);
104 xr->fRight = SkIntToFixed(src.fRight);
105 xr->fBottom = SkIntToFixed(src.fBottom);
H A DSkMipMap.cpp241 return SkIntToFixed(15 - clz) + ((unsigned)(s << (clz + 1)) >> 16);
H A DSkBitmap.cpp1435 return SkIntToFixed(15 - clz) + ((unsigned)(sx << (clz + 1)) >> 16);
H A DSkDraw.cpp2726 rec.fLSB.set(SkIntToFixed(x), SkIntToFixed(y));
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkGradientShader.cpp288 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1);
289 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1);
290 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1);
292 r = SkIntToFixed(r) + 0x8000;
293 g = SkIntToFixed(g) + 0x8000;
294 b = SkIntToFixed(b) + 0x8000;
357 SkFixed da = SkIntToFixed(a1 - a0) / (count - 1);
358 SkFixed dr = SkIntToFixed(r1 - r0) / (count - 1);
359 SkFixed dg = SkIntToFixed(g1 - g0) / (count - 1);
360 SkFixed db = SkIntToFixed(b
[all...]
/external/skia/src/effects/gradients/
H A DSkGradientShader.cpp288 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1);
289 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1);
290 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1);
292 r = SkIntToFixed(r) + 0x8000;
293 g = SkIntToFixed(g) + 0x8000;
294 b = SkIntToFixed(b) + 0x8000;
357 SkFixed da = SkIntToFixed(a1 - a0) / (count - 1);
358 SkFixed dr = SkIntToFixed(r1 - r0) / (count - 1);
359 SkFixed dg = SkIntToFixed(g1 - g0) / (count - 1);
360 SkFixed db = SkIntToFixed(b
[all...]
/external/skia/tests/
H A DClampRangeTest.cpp91 #define ff(x) SkIntToFixed(x)
/external/chromium_org/third_party/skia/include/core/
H A DSkFixed.h72 inline SkFixed SkIntToFixed(int n) function
79 #define SkIntToFixed(n) (SkFixed)((n) << 16) macro
H A DSkScalar.h199 #define SkIntToScalar(n) SkIntToFixed(n)
/external/skia/include/core/
H A DSkFixed.h72 inline SkFixed SkIntToFixed(int n) function
79 #define SkIntToFixed(n) (SkFixed)((n) << 16) macro
H A DSkScalar.h199 #define SkIntToScalar(n) SkIntToFixed(n)
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_win.cpp900 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth);
950 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX);
951 glyph->fAdvanceY = SkIntToFixed(gm.gmCellIncY);
/external/skia/src/ports/
H A DSkFontHost_win.cpp900 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth);
950 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX);
951 glyph->fAdvanceY = SkIntToFixed(gm.gmCellIncY);

Completed in 1102 milliseconds