HomeSort by relevance Sort by last modified time
    Searched refs:SkScalarRound (Results 1 - 25 of 45) sorted by null

1 2

  /external/skia/samplecode/
SampleLayerMask.cpp 37 int w = SkScalarRound(r.width());
38 int h = SkScalarRound(r.height());
SampleCull.cpp 82 array[n++].set(SkScalarRound(pts[0].fX), SkScalarRound(pts[0].fY));
85 array[n++].set(SkScalarRound(pts[1].fX), SkScalarRound(pts[1].fY));
SampleStrokeText.cpp 45 int w = SkScalarRound(bounds.width());
46 int h = SkScalarRound(bounds.height());
91 int w = SkScalarRound(bounds.width());
92 int h = SkScalarRound(bounds.height());
SampleFilter2.cpp 85 x = SkIntToScalar(SkScalarRound(x));
86 y = SkIntToScalar(SkScalarRound(y));
SampleLines.cpp 102 fAlpha = SkScalarRound(y);
SampleAAClip2.cpp 174 return fRect.contains(SkScalarRound(x), SkScalarRound(y)) ? new Click(this) : NULL;
SampleMipMap.cpp 106 fWidth = 8 + SkScalarRound(N * time);
SampleRegion.cpp 260 return fRect.contains(SkScalarRound(x), SkScalarRound(y)) ? new Click(this) : NULL;
  /external/webkit/Source/WebCore/platform/graphics/android/
ImageAndroid.cpp 159 dst->set(SkScalarRound(SkFloatToScalar(src.x())),
160 SkScalarRound(SkFloatToScalar(src.y())),
161 SkScalarRound(SkFloatToScalar((src.x() + src.width()))),
162 SkScalarRound(SkFloatToScalar((src.y() + src.height()))));
168 dst->set(SkScalarRound(SkFloatToScalar(src.x() * sx)),
169 SkScalarRound(SkFloatToScalar(src.y() * sy)),
170 SkScalarRound(SkFloatToScalar((src.x() + src.width()) * sx)),
171 SkScalarRound(SkFloatToScalar((src.y() + src.height()) * sy)));
  /external/webkit/Source/WebCore/platform/graphics/chromium/
SimpleFontDataLinux.cpp 96 ascent = SkScalarRound(-metrics.fAscent);
97 descent = SkScalarRound(height) - ascent;
130 m_maxCharWidth = SkScalarRound(xRange * SkScalarRound(m_platformData.size()));
133 m_avgCharWidth = SkScalarRound(metrics.fAvgCharWidth);
  /external/chromium/chrome/common/
badge_util.cc 72 if (SkScalarRound(text_width) > (icon.width() - kMinPadding * 2)) {
82 if ((SkScalarRound(text_width) % 1) != (badge_width % 1))
  /external/skia/include/core/
SkSize.h 95 s.set(SkScalarRound(fWidth), SkScalarRound(fHeight));
SkRect.h 601 * nearest integer values using SkScalarRound.
605 dst->set(SkScalarRound(fLeft), SkScalarRound(fTop),
606 SkScalarRound(fRight), SkScalarRound(fBottom));
SkScalar.h 155 #define SkScalarMulRound(a, b) SkScalarRound((float)(a) * (b))
289 #define SkScalarRound(x) SkScalarRoundToInt(x)
  /external/skia/src/effects/
SkDiscretePathEffect.cpp 33 uint32_t seed = SkScalarRound(meas.getLength());
45 int n = SkScalarRound(SkScalarDiv(length, fSegLength));
  /external/skia/tests/
PathCoverageTest.cpp 29 int idx = SkAbs32(SkScalarRound(dx));
30 int idy = SkAbs32(SkScalarRound(dy));
81 return estimate_pointCount(SkScalarRound(distance));
  /external/skia/src/animator/
SkAnimateBase.cpp 170 SkColor color = SkColorSetARGB(SkScalarRound(array[0]), SkScalarRound(array[1]),
171 SkScalarRound(array[2]), SkScalarRound(array[3]));
SkDrawColor.cpp 88 return SkColorSetARGB(SkColorGetA(color), SkScalarRound(red),
89 SkScalarRound(green), SkScalarRound(blue));
SkOperandIterpolator.cpp 84 values[i].fS32 = a + SkScalarRound((b - a) * T);
  /external/skia/src/ports/
SkFontHost_gamma.cpp 44 int xx = SkScalarRound(SkFloatToScalar(x * 255));
SkFontHost_ascender.cpp 79 int ppemX = SkScalarRound(sx);
80 int ppemY = SkScalarRound(sy);
  /external/skia/src/core/
SkFP.h 22 #define SkFPRound(x) SkScalarRound(n)
  /external/skia/src/views/
SkParsePaint.cpp 99 paint->setAlpha(SkScalarRound(x * 255));
SkStackViewLayout.cpp 170 pos = SkIntToScalar(SkScalarRound(pos));
174 crossLoc = SkIntToScalar(SkScalarRound(crossLoc));
  /external/skia/bench/
BlurBench.cpp 40 fName.printf("blur_%d_%s", SkScalarRound(rad), name);

Completed in 495 milliseconds

1 2