Home
last modified time | relevance | path

Searched refs:irect (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/testing/runner/
DWebTestThemeEngineMock.cpp100 SkIRect irect; in webRectToSkIRect() local
101 irect.set(webRect.x, webRect.y, in webRectToSkIRect()
103 return irect; in webRectToSkIRect()
176 void roundRect(SkCanvas *canvas, SkIRect irect, SkColor color) in roundRect() argument
182 rect.set(irect); in roundRect()
192 void oval(SkCanvas* canvas, SkIRect irect, SkColor color) in oval() argument
197 rect.set(irect); in oval()
207 void circle(SkCanvas *canvas, SkIRect irect, SkScalar radius, SkColor color) in circle() argument
209 int left = irect.fLeft; in circle()
210 int width = irect.width(); in circle()
[all …]
DWebTestThemeControlWin.h147 void box(const SkIRect& irect, SkColor);
DWebTestThemeEngineWin.cpp55 SkIRect irect; in webRectToSkIRect() local
56 irect.set(webRect.x, webRect.y, webRect.x + webRect.width - 1, webRect.y + webRect.height - 1); in webRectToSkIRect()
57 return irect; in webRectToSkIRect()
DWebTestThemeControlWin.cpp101 WebTestThemeControlWin::WebTestThemeControlWin(SkCanvas* canvas, const SkIRect& irect, Type ctype, … in WebTestThemeControlWin() argument
103 , m_irect(validate(irect, ctype)) in WebTestThemeControlWin()
/external/chromium_org/skia/ext/
Dplatform_device_mac.cc138 SkIRect irect; in LoadClippingRegionToCGContext() local
139 rect.round(&irect); in LoadClippingRegionToCGContext()
140 CGContextClipToRect(context, gfx::SkIRectToCGRect(irect)); in LoadClippingRegionToCGContext()
/external/skia/include/core/
DSkRect.h405 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) { in MakeFromIRect()
407 r.set(SkIntToScalar(irect.fLeft), in MakeFromIRect()
408 SkIntToScalar(irect.fTop), in MakeFromIRect()
409 SkIntToScalar(irect.fRight), in MakeFromIRect()
410 SkIntToScalar(irect.fBottom)); in MakeFromIRect()
414 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
416 r.set(SkIntToScalar(irect.fLeft), in Make()
417 SkIntToScalar(irect.fTop), in Make()
418 SkIntToScalar(irect.fRight), in Make()
419 SkIntToScalar(irect.fBottom)); in Make()
/external/chromium_org/third_party/skia/include/core/
DSkRect.h405 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) { in MakeFromIRect()
407 r.set(SkIntToScalar(irect.fLeft), in MakeFromIRect()
408 SkIntToScalar(irect.fTop), in MakeFromIRect()
409 SkIntToScalar(irect.fRight), in MakeFromIRect()
410 SkIntToScalar(irect.fBottom)); in MakeFromIRect()
414 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
416 r.set(SkIntToScalar(irect.fLeft), in Make()
417 SkIntToScalar(irect.fTop), in Make()
418 SkIntToScalar(irect.fRight), in Make()
419 SkIntToScalar(irect.fBottom)); in Make()
/external/skia/src/gpu/
DGrDrawTarget.h373 void drawSimpleRect(const SkIRect& irect, const SkMatrix* matrix = NULL) {
374 SkRect rect = SkRect::Make(irect);
/external/chromium_org/third_party/skia/src/gpu/
DGrDrawTarget.h373 void drawSimpleRect(const SkIRect& irect, const SkMatrix* matrix = NULL) {
374 SkRect rect = SkRect::Make(irect);
/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp1561 const SkIRect& irect = clip; in convertToPpm() local
1563 SkScalarMul(SkIntToScalar(irect.fLeft), ppuScale->fX), in convertToPpm()
1564 SkScalarMul(SkIntToScalar(irect.fTop), ppuScale->fY), in convertToPpm()
1565 SkScalarMul(SkIntToScalar(irect.fRight), ppuScale->fX), in convertToPpm()
1566 SkScalarMul(SkIntToScalar(irect.fBottom), ppuScale->fY)); in convertToPpm()
/external/skia/src/device/xps/
DSkXPSDevice.cpp1561 const SkIRect& irect = clip; in convertToPpm() local
1563 SkScalarMul(SkIntToScalar(irect.fLeft), ppuScale->fX), in convertToPpm()
1564 SkScalarMul(SkIntToScalar(irect.fTop), ppuScale->fY), in convertToPpm()
1565 SkScalarMul(SkIntToScalar(irect.fRight), ppuScale->fX), in convertToPpm()
1566 SkScalarMul(SkIntToScalar(irect.fBottom), ppuScale->fY)); in convertToPpm()
/external/chromium_org/content/renderer/
Drender_widget.cc1347 SkIRect irect; in PaintDebugBorder() local
1348 irect.set(rect.x(), rect.y(), rect.right() - 1, rect.bottom() - 1); in PaintDebugBorder()
1349 canvas->drawIRect(irect, paint); in PaintDebugBorder()