HomeSort by relevance Sort by last modified time
    Searched refs:SkScalarToFixed (Results 1 - 15 of 15) sorted by null

  /external/skia/src/effects/
SkEmbossMask.cpp 51 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
52 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
53 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
GrCircleBlurFragmentProcessor.cpp 162 sigmaToCircleRRatioFixed = SkScalarToFixed(sigmaToCircleRRatio);
  /external/skia/src/core/
SkScan.h 110 xr->fLeft = SkScalarToFixed(src.fLeft);
111 xr->fTop = SkScalarToFixed(src.fTop);
112 xr->fRight = SkScalarToFixed(src.fRight);
113 xr->fBottom = SkScalarToFixed(src.fBottom);
SkFindAndPlaceGlyph.h 296 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding), 0};
298 return {0, SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)};
300 return {SkScalarToFixed(SkScalarFraction(position.fX) + kSubpixelRounding),
301 SkScalarToFixed(SkScalarFraction(position.fY) + kSubpixelRounding)};
SkScan_Hairline.cpp 146 // TODO: handle huge coordinates on rect (before calling SkScalarToFixed)
153 r.set(SkScalarToFixed(rect.fLeft) >> 16,
154 SkScalarToFixed(rect.fTop) >> 16,
155 (SkScalarToFixed(rect.fRight) >> 16) + 1,
156 (SkScalarToFixed(rect.fBottom) >> 16) + 1);
SkBitmapProcState.cpp 157 fInvSx = SkScalarToFixed(fInvMatrix.getScaleX());
159 fInvKy = SkScalarToFixed(fInvMatrix.getSkewY());
SkDraw.cpp 346 SkFixed x = SkScalarToFixed(devPts[i].fX);
347 SkFixed y = SkScalarToFixed(devPts[i].fY);
363 SkFixed x = SkScalarToFixed(devPts[i].fX);
364 SkFixed y = SkScalarToFixed(devPts[i].fY);
408 fRadius = SkScalarToFixed(width * sx) >> 1;
    [all...]
  /external/skia/src/gpu/ops/
GrSmallPathRenderer.h 82 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00;
83 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00;
  /external/skia/include/private/
SkFixed.h 132 #define SkScalarToFixed(x) SkFloatToFixed(x)
  /external/skia/src/gpu/
GrSoftwarePathRenderer.cpp 192 SkFixed fracX = SkScalarToFixed(SkScalarFraction(tx)) & 0x0000FF00;
193 SkFixed fracY = SkScalarToFixed(SkScalarFraction(ty)) & 0x0000FF00;
  /external/skia/tests/
TypefaceTest.cpp 127 SkFixed fixedRead = SkScalarToFixed(positionRead[0].value);
128 SkFixed fixedOriginal = SkScalarToFixed(position[1].value);
  /external/skia/src/ports/
SkFontHost_FreeType.cpp 784 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX());
785 fMatrix22.xy = SkScalarToFixed(-fMatrix22Scalar.getSkewX());
786 fMatrix22.yx = SkScalarToFixed(-fMatrix22Scalar.getSkewY());
787 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY());
    [all...]
SkFontHost_win.cpp 141 static inline FIXED SkScalarToFIXED(SkScalar x) {
142 return SkFixedToFIXED(SkScalarToFixed(x));
640 fGsA.eM11 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleX));
641 fGsA.eM12 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewY)); // This should be ~0.
642 fGsA.eM21 = SkScalarToFIXED(-GsA.get(SkMatrix::kMSkewX));
643 fGsA.eM22 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleY));
752 fMat22.eM11 = SkScalarToFIXED(fRec.fPost2x2[0][0]);
753 fMat22.eM12 = SkScalarToFIXED(-fRec.fPost2x2[1][0]);
754 fMat22.eM21 = SkScalarToFIXED(-fRec.fPost2x2[0][1]);
755 fMat22.eM22 = SkScalarToFIXED(fRec.fPost2x2[1][1])
    [all...]
  /external/skia/src/utils/
SkInterpolator.cpp 229 return SkScalarToFixed(x) >> 2;
  /external/skia/src/shaders/gradients/
SkGradientShader.cpp 226 recs->fPos = SkScalarToFixed(curr);
227 SkFixed diff = SkScalarToFixed(curr - prev);
    [all...]

Completed in 284 milliseconds