Searched refs:SkScalarTruncToInt (Results 1 - 13 of 13) sorted by relevance

/external/skia/src/core/
H A DSkBitmapScaler.cpp146 int destLimit = SkScalarTruncToInt(destSubsetHi - destSubsetLo);
164 int filterCount = SkScalarTruncToInt(srcEnd - srcBegin) + 1;
H A DSkLinearBitmapPipeline.cpp179 int32_t x = SkScalarTruncToInt(span.startX());
180 int32_t y = SkScalarTruncToInt(span.startY());
190 int32_t x = SkScalarTruncToInt(span.startX());
191 int32_t y = SkScalarTruncToInt(span.startY());
H A DSkLinearBitmapPipeline_sample.h598 int x1 = adjust_edge(fXEdgeType, SkScalarTruncToInt(X(sample) + 0.5), fXMax);
600 int y1 = adjust_edge(fYEdgeType, SkScalarTruncToInt(Y(sample) + 0.5), fYMax);
/external/skia/gm/
H A Dgamma.cpp19 const int szInt = SkScalarTruncToInt(sz);
/external/skia/include/core/
H A DSkScalar.h58 #define SkScalarTruncToInt(x) static_cast<int>(x) macro
/external/skia/src/effects/
H A DSkDisplacementMapEffect.cpp81 const int srcX = x + SkScalarTruncToInt(displX);
82 const int srcY = y + SkScalarTruncToInt(displY);
H A DSkPerlinNoiseShader.cpp136 fSeed = SkScalarTruncToInt(seed);
/external/skia/src/ports/
H A DSkScalerContext_win_dw.cpp280 int bitmapPPEM = SkScalarTruncToInt(gdiTextSize);
333 get_gasp_range(typeface, SkScalarTruncToInt(fTextSizeRender), &range);
H A DSkFontHost_win.cpp664 lf.lfHeight = -SkScalarTruncToInt(gdiTextSize);
881 glyph->fLeft = SkScalarTruncToInt(bounds.fLeft);
882 glyph->fTop = SkScalarTruncToInt(bounds.fTop);
883 glyph->fWidth = SkScalarTruncToInt(bounds.width());
884 glyph->fHeight = SkScalarTruncToInt(bounds.height());
/external/skia/src/effects/gradients/
H A DSk4fLinearGradient.cpp264 const int n = SkScalarTruncToInt(
/external/skia/tools/viewer/
H A DViewer.cpp902 int x = SkScalarTruncToInt(rect.fLeft) + kGraphPadding;
910 int startY = SkScalarTruncToInt(rect.fBottom);
/external/skia/samplecode/
H A DSampleApp.cpp1114 SkImageInfo info = SkImageInfo::MakeN32Premul(SkScalarTruncToInt(w), SkScalarTruncToInt(h));
/external/skia/experimental/SkPerlinNoiseShader2/
H A DSkPerlinNoiseShader2.cpp192 fSeed = SkScalarTruncToInt(seed);

Completed in 218 milliseconds