Searched defs:rect (Results 51 - 75 of 1094) sorted by relevance

1234567891011>>

/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/pdf/
H A Dpaint_aggregator.h11 #include "ppapi/cpp/rect.h"
12 #include "ppapi/cpp/rect.h"
28 pp::Rect rect; member in struct:PaintAggregator::ReadyRect
78 // The given rect should be repainted.
79 void InvalidateRect(const pp::Rect& rect);
81 // The given rect should be scrolled by the given amounts.
99 // Computes the rect damaged by scrolling within |scroll_rect| by
100 // |scroll_delta|. This rect must be repainted. It is not included in
107 // Does not include the scroll damage rect unless
114 // Whether we have added the scroll damage rect t
[all...]
/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/remoting/codec/
H A Dvideo_encoder_verbatim.cc40 const webrtc::DesktopRect& rect = iter.rect(); local
41 output_size += rect.width() * rect.height() *
51 const webrtc::DesktopRect& rect = iter.rect(); local
52 const int row_size = webrtc::DesktopFrame::kBytesPerPixel * rect.width();
53 const uint8_t* in = frame.data() + rect.top() * in_stride +
54 rect.left() * webrtc::DesktopFrame::kBytesPerPixel;
55 for (int y = rect
[all...]
/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.h47 static PassRefPtrWillBeRawPtr<ClientRect> create(const IntRect& rect) argument
49 return adoptRefWillBeNoop(new ClientRect(rect));
51 static PassRefPtrWillBeRawPtr<ClientRect> create(const FloatRect& rect) argument
53 return adoptRefWillBeNoop(new ClientRect(rect));
H A DRenderedDocumentMarker.h58 static const LayoutRect rect = LayoutRect(-1, -1, -1, -1); local
59 return rect;
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DRemoteFrameView.cpp30 void RemoteFrameView::invalidateRect(const IntRect& rect) argument
36 IntRect repaintRect = rect;
H A DSmartClip.h47 SmartClipData(Node* node, IntRect rect, String string) argument
49 , m_rect(rect)
54 IntRect rect() const;
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPagePopupClient.cpp101 void PagePopupClient::addProperty(const char* name, const IntRect& rect, SharedBuffer* data) argument
105 addProperty("x", rect.x(), data);
106 addProperty("y", rect.y(), data);
107 addProperty("width", rect.width(), data);
108 addProperty("height", rect.height(), data);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderRegion.h48 void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; } argument
/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 FloatSize boundingBoxSize(rect->width()->currentValue()->value(lengthContext), rect->height()->currentValue()->value(lengthContext));
65 // Fallback to RenderSVGShape if rect has rounded corners or a non-scaling stroke.
66 if (rect->rx()->currentValue()->value(lengthContext) > 0 || rect->ry()->currentValue()->value(lengthContext) > 0 || hasNonScalingStroke()) {
73 m_fillBoundingBox = FloatRect(FloatPoint(rect->x()->currentValue()->value(lengthContext), rect
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFitToViewBox.cpp66 void SVGFitToViewBox::updateViewBox(const FloatRect& rect) argument
69 m_viewBox->baseValue()->setValue(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...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContextCullSaver.h19 GraphicsContextCullSaver(GraphicsContext& context, const FloatRect& rect) argument
23 context.beginCull(rect);
32 void cull(const FloatRect& rect) argument
35 m_context.beginCull(rect);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEMerge.cpp70 SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); local
71 return adoptRef(SkMergeImageFilter::Create(inputs.get(), size, 0, &rect));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
H A DSkiaUtils.h74 inline SkRect WebCoreFloatRectToSKRect(const FloatRect& rect) argument
76 return SkRect::MakeLTRB(SkFloatToScalar(rect.x()), SkFloatToScalar(rect.y()),
77 SkFloatToScalar(rect.maxX()), SkFloatToScalar(rect.maxY()));
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebScreenInfo.h59 WebRect rect; member in struct:blink::WebScreenInfo
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_pipe_clear.c45 SVGA3dRect rect = { 0, 0, 0, 0 }; local
66 rect.w = fb->cbufs[0]->width;
67 rect.h = fb->cbufs[0]->height;
78 rect.w = MAX2(rect.w, fb->zsbuf->width);
79 rect.h = MAX2(rect.h, fb->zsbuf->height);
82 if (memcmp(&rect, &svga->state.hw_clear.viewport, sizeof(rect)) != 0) {
84 ret = SVGA3D_SetViewport(svga->swc, &rect);
[all...]
/external/chromium_org/third_party/skia/experimental/SkiaExamples/
H A DHelloSkiaExample.cpp38 SkRect rect = { local
42 canvas->drawRect(rect, paint);
/external/chromium_org/third_party/skia/gm/
H A Dbitmapmatrix.cpp123 SkRect rect = SkRect::MakeWH(SkIntToScalar(SIZE), SkIntToScalar(SIZE)); local
125 path.addOval(rect);
H A Dcircularclips.cpp50 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); local
67 canvas->drawRect(rect, fillPaint);
H A Dinternal_links.cpp41 SkRect rect = SkRect::MakeXYWH(0, 0, SkIntToScalar(50), SkIntToScalar(20)); local
42 SkAnnotateLinkToDestination(canvas, rect, name.get());
59 SkRect rect = SkRect::MakeXYWH(x, y, local
61 canvas->drawRect(rect, paint);

Completed in 389 milliseconds

1234567891011>>