Searched defs:rect (Results 26 - 50 of 888) sorted by relevance

1234567891011>>

/external/skia/gm/
H A Darcofzorro.cpp34 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200); variable
50 canvas->drawArc(rect, 0, arc, false, p);
/external/skia/src/animator/
H A DSkBoundable.cpp25 void SkBoundable::getBounds(SkRect* rect) { argument
26 SkASSERT(rect);
28 INHERITED::getBounds(rect);
31 rect->fLeft = SkIntToScalar(fBounds.fLeft);
32 rect->fTop = SkIntToScalar(fBounds.fTop);
33 rect->fRight = SkIntToScalar(fBounds.fRight);
34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
/external/skia/src/core/
H A DSkValidationUtils.h32 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32
34 static inline bool SkIsValidIRect(const SkIRect& rect) { argument
35 return rect.width() >= 0 && rect.height() >= 0;
38 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax
40 static inline bool SkIsValidRect(const SkRect& rect) { argument
41 return (rect.fLeft <= rect.fRight) &&
42 (rect.fTop <= rect
[all...]
/external/chromium/webkit/glue/
H A Dwebthemeengine_impl_linux.cc18 static gfx::Rect WebRectToRect(const WebRect& rect) { argument
19 return gfx::Rect(rect.x, rect.y, rect.width, rect.height);
170 const WebKit::WebRect& rect,
179 WebRectToRect(rect),
166 paint( WebKit::WebCanvas* canvas, WebKit::WebThemeEngine::Part part, WebKit::WebThemeEngine::State state, const WebKit::WebRect& rect, const WebKit::WebThemeEngine::ExtraParams* extra_params) argument
/external/chromium_org/ash/accelerators/
H A Ddebug_commands.cc19 gfx::ImageSkia CreateWallpaperImage(SkColor fill, SkColor rect) { argument
27 paint.setColor(rect);
/external/chromium_org/ash/wm/
H A Dcoordinate_conversion.cc12 #include "ui/gfx/rect.h"
28 aura::Window* GetRootWindowMatching(const gfx::Rect& rect) { argument
29 const gfx::Display& display = Shell::GetScreen()->GetDisplayMatching(rect);
/external/chromium_org/cc/base/
H A Dinvalidation_region.cc29 void InvalidationRegion::Union(gfx::Rect rect) { argument
30 region_.Union(rect);
/external/chromium_org/cc/test/
H A Dfake_picture_layer_tiling_client.cc32 gfx::Rect rect) {
36 pile_.get(), tile_size_, rect, gfx::Rect(), 1, 0, 0, Tile::USE_LCD_TEXT);
30 CreateTile( PictureLayerTiling*, gfx::Rect rect) argument
H A Dlayer_test_common.cc13 #include "ui/gfx/rect.h"
36 gfx::Rect rect) {
37 Region remaining = rect;
42 MathUtil::MapClippedRect(quad->quadTransform(), gfx::RectF(quad->rect));
45 // rounding will not round the rect incorrectly.
50 EXPECT_TRUE(rect.Contains(quad_rect)) << quad_string << i;
35 VerifyQuadsExactlyCoverRect(const QuadList& quads, gfx::Rect rect) argument
/external/chromium_org/chrome/browser/extensions/api/system_display/
H A Ddisplay_info_provider_win.cc24 LPRECT rect,
22 EnumMonitorCallback(HMONITOR monitor, HDC hdc, LPRECT rect, LPARAM data) argument
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_shelf_context_menu_view.cc25 const gfx::Rect& rect,
47 rect,
24 Run(views::Widget* parent_widget, const gfx::Rect& rect, ui::MenuSourceType source_type) argument
/external/chromium_org/content/browser/aura/
H A Dsoftware_output_device_x11.cc75 gfx::Rect rect = damage_rect_; local
76 rect.Intersect(gfx::Rect(viewport_size_));
77 if (rect.IsEmpty())
82 rect.x(), rect.y(),
83 rect.x(), rect.y(),
84 rect.width(), rect.height());
/external/chromium_org/content/renderer/
H A Drender_view_impl_android.cc67 void RenderViewImpl::OnExtractSmartClipData(const gfx::Rect& rect) { argument
69 routing_id_, webview()->getSmartClipData(rect)));
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
H A Dps_context_2d.cc53 struct PP_Rect rect; local
55 PSInterfaceView()->GetRect(event->as_resource, &rect);
58 ctx->width = rect.size.width;
59 ctx->height = rect.size.height;
63 PSInterfaceGraphics2D()->Create(PSGetInstanceId(), &rect.size,
/external/chromium_org/ppapi/cpp/dev/
H A Dwidget_dev.cc12 #include "ppapi/cpp/rect.h"
35 bool Widget_Dev::Paint(const Rect& rect, ImageData* image) { argument
38 pp_resource(), &rect.pp_rect(), image->pp_resource()));
41 pp_resource(), &rect.pp_rect(), image->pp_resource()));
/external/chromium_org/ppapi/shared_impl/
H A Dppb_view_shared.h24 PP_Rect rect; member in struct:ppapi::ViewData
/external/chromium_org/printing/
H A Dprinted_document_win.cc28 void DrawRect(HDC context, gfx::Rect rect) { argument
29 Rectangle(context, rect.x(), rect.y(), rect.right(), rect.bottom());
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_mac_unittest.cc35 SkIRect rect; local
36 rect.set(0, 0, kWidth, kHeight);
37 clip_region.setRect(rect);
55 SkIRect rect; local
56 rect.set(0, 0, kWidth, kHeight);
57 clip_region.setRect(rect);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DClientRect.h42 static PassRefPtr<ClientRect> create(const IntRect& rect) { return adoptRef(new ClientRect(rect)); } argument
43 static PassRefPtr<ClientRect> create(const FloatRect& rect) { return adoptRef(new ClientRect(rect)); } argument
H A DRenderedDocumentMarker.h52 static const LayoutRect rect = LayoutRect(-1, -1, -1, -1); local
53 return rect;
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DSmartClip.h45 SmartClipData(Node* node, IntRect rect, String string) argument
47 , m_rect(rect)
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPagePopupClient.cpp101 void PagePopupClient::addProperty(const char* name, const IntRect& rect, DocumentWriter& writer) argument
105 addProperty("x", rect.x(), writer);
106 addProperty("y", rect.y(), writer);
107 addProperty("width", rect.width(), writer);
108 addProperty("height", rect.height(), writer);
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGRect.cpp53 SVGRectElement* rect = toSVGRectElement(element()); local
54 ASSERT(rect);
56 SVGLengthContext lengthContext(rect);
57 // Fallback to RenderSVGShape if rect has rounded corners or a non-scaling stroke.
58 if (rect->rxCurrentValue().value(lengthContext) > 0 || rect->ryCurrentValue().value(lengthContext) > 0 || hasNonScalingStroke()) {
65 FloatSize boundingBoxSize(rect->widthCurrentValue().value(lengthContext), rect->heightCurrentValue().value(lengthContext));
69 m_fillBoundingBox = FloatRect(FloatPoint(rect->xCurrentValue().value(lengthContext), rect
[all...]
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DLayerRect.h47 static PassRefPtr<LayerRect> create(PassRefPtr<Node> node, const String& layerType, PassRefPtr<ClientRect> rect) argument
49 return adoptRef(new LayerRect(node, layerType, rect));
57 LayerRect(PassRefPtr<Node> node, const String& layerName, PassRefPtr<ClientRect> rect) argument
60 , m_rect(rect)
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatRoundedRectTest.cpp47 void PrintTo(const FloatRect& rect, std::ostream* os) argument
50 << rect.x() << ", "
51 << rect.y() << ", "
52 << rect.width() << ", "
53 << rect.height() << ")";
68 << ::testing::PrintToString(roundedRect.rect()) << ", "
89 EXPECT_EQ(FloatRect(1, 2, 3, 4), r.rect());
103 TEST_INTERCEPTS(r, 2, r.rect().x(), r.rect().maxX());
104 TEST_INTERCEPTS(r, 4, r.rect()
[all...]

Completed in 606 milliseconds

1234567891011>>