Searched refs:rect (Results 226 - 250 of 499) sorted by relevance

1234567891011>>

/external/skia/src/svg/
H A DSkSVGDevice.cpp456 AutoElement rectElement("rect", fWriter);
508 void SkSVGDevice::AutoElement::addRectAttributes(const SkRect& rect) {
510 if (rect.x() != 0) {
511 this->addAttribute("x", rect.x());
513 if (rect.y() != 0) {
514 this->addAttribute("y", rect.y());
517 this->addAttribute("width", rect.width());
518 this->addAttribute("height", rect.height());
601 AutoElement rect("rect", fWrite
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfpdfview.cpp399 RECT rect, cliprect; local
400 rect.left = start_x;
401 rect.top = start_y;
402 rect.right = start_x + size_x;
403 rect.bottom = start_y + size_y;
405 IntersectRect(&rect, &rect, &cliprect);
406 int width = rect.right - rect.left;
407 int height = rect
[all...]
/external/pdfium/fpdfsdk/src/fxedit/
H A Dfxet_list.cpp49 void CFX_ListItem::SetRect(const CLST_Rect & rect) argument
51 m_rcListItem = rect;
544 CPDF_Rect CFX_ListCtrl::InToOut(const CPDF_Rect & rect) const
546 CPDF_Point ptLeftBottom = InToOut(CPDF_Point(rect.left,rect.bottom));
547 CPDF_Point ptRightTop = InToOut(CPDF_Point(rect.right,rect.top));
552 CPDF_Rect CFX_ListCtrl::OutToIn(const CPDF_Rect & rect) const
554 CPDF_Point ptLeftBottom = OutToIn(CPDF_Point(rect.left,rect
722 SetPlateRect(const CPDF_Rect & rect) argument
[all...]
/external/libvncserver/libvncserver/
H A Dmain.c324 * current cursor rect overlaps with the copy region *dest*,
325 * mark it as modified since we won't copy-rect stuff to it.
337 * current cursor rect overlaps with the copy region *source*,
359 sraRect rect; local
366 while(sraRgnIteratorNext(i,&rect)) {
367 widthInBytes = (rect.x2-rect.x1)*bpp;
368 out = screen->frameBuffer+rect.x1*bpp+rect.y1*rowstride;
369 in = screen->frameBuffer+(rect
[all...]
H A Dhextile.c46 rfbFramebufferUpdateRectHeader rect; local
53 rect.r.x = Swap16IfLE(x);
54 rect.r.y = Swap16IfLE(y);
55 rect.r.w = Swap16IfLE(w);
56 rect.r.h = Swap16IfLE(h);
57 rect.encoding = Swap32IfLE(rfbEncodingHextile);
59 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect,
/external/libvncserver/rfb/
H A Drfbregion.h34 extern rfbBool sraRgnPopRect(sraRegion *region, sraRect *rect,
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_transfer.c552 linear_ptr(struct nv30_rect *rect, char *base, int x, int y, int z) argument
554 return base + (y * rect->pitch) + (x * rect->cpp);
568 swizzle2d_ptr(struct nv30_rect *rect, char *base, int x, int y, int z) argument
570 unsigned k = util_logbase2(MIN2(rect->w, rect->h));
572 unsigned nx = rect->w >> k;
581 return base + (m * rect->cpp);
585 swizzle3d_ptr(struct nv30_rect *rect, char *base, int x, int y, int z) argument
587 unsigned w = rect
618 get_ptr(struct nv30_rect *rect) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpolygon.h57 float *rect);
H A Dpolygon.c192 float *rect)
211 rect[0] = minx;
212 rect[1] = miny;
213 rect[2] = maxx - minx;
214 rect[3] = maxy - miny;
191 polygon_bounding_rect(struct polygon *p, float *rect) argument
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_blit.h34 const drm_clip_rect_t * rect);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSurfaceView.java46 @Override public Canvas lockCanvas(Rect rect) {
/external/skia/gm/
H A Dxfermodeimagefilter.cpp59 static void drawClippedPaint(SkCanvas* canvas, const SkRect& rect, const SkPaint& paint, argument
63 canvas->clipRect(rect);
188 SkImageFilter::CropRect rect(SkRect::Make(cropRect));
191 mode, offsetBackground, offsetForeground, &rect));
H A Dconvexpolyeffect.cpp228 SkRect rect = *iter.get(); variable
229 rect.offset(x, y);
231 SkAutoTUnref<GrFragmentProcessor> fp(GrConvexPolyEffect::Create(edgeType, rect));
242 geometry.fBounds = rect;
248 x += SkScalarCeilToScalar(rect.width() + 10.f);
251 // Draw rect without and with AA using normal API for reference
/external/skia/include/gpu/
H A DGrContext.h226 * Clear the entire or rect of the render target, ignoring any clips.
227 * @param rect the rect to clear or the whole thing if rect is NULL.
233 void clear(const SkIRect* rect, GrColor color, bool canIgnoreRect, GrRenderTarget* target);
241 * Draw the rect using a paint.
246 * If strokeInfo == NULL, then the rect is filled.
248 * is always a single pixel thick, else the rect is
278 * Draws a non-AA rect with paint and a localMatrix
284 const SkRect& rect,
280 drawNonAARectWithLocalMatrix(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rect, const SkMatrix& localMatrix) argument
[all...]
/external/skia/src/core/
H A DSkStroke.h61 * Stroke the specified rect, winding it in the specified direction..
63 void strokeRect(const SkRect& rect, SkPath* result,
H A DSkValidatingReadBuffer.cpp138 void SkValidatingReadBuffer::readIRect(SkIRect* rect) { argument
141 memcpy(rect, ptr, sizeof(SkIRect));
145 void SkValidatingReadBuffer::readRect(SkRect* rect) { argument
148 memcpy(rect, ptr, sizeof(SkRect));
H A DSkScan_Path.cpp419 SkIRect rect = clipRgn.getBounds(); local
420 if (rect.fTop < start_y) {
421 rect.fTop = start_y;
423 if (rect.fBottom > stop_y) {
424 rect.fBottom = stop_y;
426 if (!rect.isEmpty()) {
427 blitter->blitRect(rect.fLeft << shiftEdgesUp,
428 rect.fTop << shiftEdgesUp,
429 rect.width() << shiftEdgesUp,
430 rect
[all...]
/external/skia/src/gpu/
H A DGrGpu.h218 * rect is NULL, otherwise just the rect. If canIgnoreRect is set then the entire render target
221 void clear(const SkIRect* rect, GrColor color, bool canIgnoreRect,GrRenderTarget* renderTarget);
224 void clearStencilClip(const SkIRect& rect, bool insideClip, GrRenderTarget* renderTarget);
263 // should only return true if a faster copy path exists. The rect and point are pre-clipped. The
264 // src rect and implied dst rect are guaranteed to be within the src/dst bounds and non-empty.
271 // take place at the GrDrawTarget level and this function implement faster copy paths. The rect
272 // and point are pre-clipped. The src rect and implied dst rect ar
[all...]
H A DGrInOrderDrawBuffer.cpp77 void GrInOrderDrawBuffer::onClear(const SkIRect* rect, GrColor color, argument
79 GrTargetCommands::Cmd* cmd = fCommands->recordClear(rect, color, canIgnoreRect, renderTarget);
83 void GrInOrderDrawBuffer::clearStencilClip(const SkIRect& rect, argument
86 GrTargetCommands::Cmd* cmd = fCommands->recordClearStencilClip(rect, insideClip, renderTarget);
H A DGrRectBatch.cpp19 and just duplicate the positions when the caller hasn't provided a local coord rect, but we
20 haven't seen a use case which frequently switches between local rect and no local rect draws.
86 // if we have a local rect, then we apply the localMatrix directly to the localRect to
225 const SkRect& rect,
231 geometry.fRect = rect;
259 SkRect rect = GrTest::TestRect(random); local
277 return GrRectBatch::Create(color, viewMatrix, rect,
223 Create(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) argument
H A DGrLayerHoister.cpp87 // Compute the source rect and return false if it is empty.
204 // Find and prepare for hoisting all the layers that intersect the query rect
251 // Add a rect clip to make sure the rendering doesn't
252 // extend beyond the boundaries of the atlased sub-rect
253 const SkRect bound = SkRect::Make(layer->rect());
307 SkASSERT(0 == layer->rect().fLeft && 0 == layer->rect().fTop);
308 SkIRect clipBounds = layer->rect();
341 SkASSERT(0 == layer->rect().fLeft && 0 == layer->rect()
[all...]
/external/skia/src/utils/
H A DSkPaintFilterCanvas.cpp44 void SkPaintFilterCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { argument
46 this->INHERITED::onDrawRect(rect, *apf.paint());
60 void SkPaintFilterCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { argument
62 this->INHERITED::onDrawOval(rect, *apf.paint());
H A DSkNWayCanvas.cpp105 void SkNWayCanvas::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { argument
108 iter->clipRect(rect, op, kSoft_ClipEdgeStyle == edgeStyle);
110 this->INHERITED::onClipRect(rect, op, edgeStyle);
152 void SkNWayCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { argument
155 iter->drawRect(rect, paint);
159 void SkNWayCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { argument
162 iter->drawOval(rect, paint);
/external/skia/tests/
H A DReadPixelsTest.cpp219 static void init_bitmap(SkBitmap* bitmap, const SkIRect& rect, BitmapInit init, SkColorType ct, argument
221 SkImageInfo info = SkImageInfo::Make(rect.width(), rect.height(), ct, at);
340 for (size_t rect = 0; rect < SK_ARRAY_COUNT(testRects); ++rect) {
341 const SkIRect& srcRect = testRects[rect];
/external/opencv/cv/src/
H A Dcvsamplers.cpp92 CvRect rect; local
98 rect.x = 0;
102 rect.x = -ip.x;
103 if( rect.x > win_size.width )
104 rect.x = win_size.width;
108 rect.width = win_size.width;
111 rect.width = src_size.width - ip.x - 1;
112 if( rect.width < 0 )
114 src += rect.width*pix_size;
115 rect
[all...]

Completed in 2662 milliseconds

1234567891011>>