Searched refs:rect (Results 51 - 75 of 766) sorted by relevance

1234567891011>>

/external/skia/samplecode/
H A DSampleManyRects.cpp17 * Animated sample used to develop batched rect implementation in GrBufferedDrawTarget.
42 SkRect rect = SkRect::MakeWH(SkIntToScalar(fRandom.nextRangeU(10, 100)), variable
50 // that the rect is inside the clip so the clip changes interrupt batching.
54 SkIntToScalar(x) + SkScalarHalf(rect.fRight),
55 SkIntToScalar(y) + SkScalarHalf(rect.fBottom));
58 SkRect clipRect = rect;
59 // This clip will always contain the entire rect. It's here to give the GPU batching
65 canvas->drawRect(rect, paint);
/external/skia/src/gpu/
H A DGrRenderTarget.cpp41 void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) { argument
43 if (rect) {
44 fResolveRect.join(*rect);
54 void GrRenderTarget::overrideResolveRect(const SkIRect rect) { argument
55 fResolveRect = rect;
H A DGrSoftwarePathRenderer.cpp73 const SkRect& rect,
75 SkAutoTUnref<GrDrawBatch> batch(GrRectBatchFactory::CreateNonAAFill(color, viewMatrix, rect,
91 SkRect rect; local
93 rect.iset(devClipBounds.fLeft, devClipBounds.fTop,
95 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert);
98 rect.iset(devClipBounds.fLeft, devPathBounds.fTop,
100 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert);
103 rect.iset(devPathBounds.fRight, devPathBounds.fTop,
105 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert);
108 rect
69 draw_non_aa_rect(GrDrawTarget* drawTarget, const GrPipelineBuilder& pipelineBuilder, GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkMatrix& localMatrix) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c170 SVGA3dRect rect; local
284 rect.x = fx;
285 rect.y = fy;
286 rect.w = fw;
287 rect.h = fh;
291 fabs((float)rect.x - fx),
292 fabs((float)rect.y - fy),
293 fabs((float)rect.w - fw),
294 fabs((float)rect.h - fh));
298 rect
465 SVGA3dRect rect; local
[all...]
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_transfer.c10 struct nv50_m2mf_rect rect[2]; member in struct:nv50_transfer
16 nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect, argument
24 rect->bo = mt->base.bo;
25 rect->domain = mt->base.domain;
26 rect->base = mt->level[l].offset;
27 rect->pitch = mt->level[l].pitch;
29 rect->width = w << mt->ms_x;
30 rect->height = h << mt->ms_y;
31 rect->x = x << mt->ms_x;
32 rect
[all...]
/external/libvterm/src/
H A Dscreen.c6 #include "rect.h"
103 static void damagerect(VTermScreen *screen, VTermRect rect) argument
110 emit = rect;
116 if(rect.end_row > rect.start_row + 1) {
119 emit = rect;
123 screen->damaged = rect;
126 else if(rect.start_row == screen->damaged.start_row) {
128 if(screen->damaged.start_col > rect.start_col)
129 screen->damaged.start_col = rect
162 VTermRect rect = { local
191 VTermRect rect = { local
265 erase_internal(VTermRect rect, int selective, void *user) argument
288 erase_user(VTermRect rect, int selective, void *user) argument
297 erase(VTermRect rect, int selective, void *user) argument
303 scrollrect(VTermRect rect, int downward, int rightward, void *user) argument
499 VTermRect rect = { local
527 VTermRect rect = { local
543 VTermRect rect = { local
565 VTermRect rect = { local
592 VTermRect rect = { local
675 _get_chars(const VTermScreen *screen, const int utf8, void *buffer, size_t len, const VTermRect rect) argument
725 vterm_screen_get_chars(const VTermScreen *screen, uint32_t *chars, size_t len, const VTermRect rect) argument
730 vterm_screen_get_text(const VTermScreen *screen, char *str, size_t len, const VTermRect rect) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_ext_pbuffer.c81 RECT rect; local
160 rect.left = 0;
161 rect.top = 0;
162 rect.right = rect.left + iWidth;
163 rect.bottom = rect.top + iHeight;
175 AdjustWindowRectEx(&rect, dwStyle, FALSE, dwExStyle);
183 rect.right - rect
[all...]
/external/libvncserver/libvncclient/
H A Drfbproto.c1783 rfbFramebufferUpdateRectHeader rect; local
1795 if (!ReadFromRFBServer(client, (char *)&rect, sz_rfbFramebufferUpdateRectHeader))
1798 rect.encoding = rfbClientSwap32IfLE(rect.encoding);
1799 if (rect.encoding == rfbEncodingLastRect)
1802 rect.r.x = rfbClientSwap16IfLE(rect.r.x);
1803 rect.r.y = rfbClientSwap16IfLE(rect.r.y);
1804 rect
[all...]
/external/skia/gm/
H A Dclipdrawdraw.cpp13 // clipRect(rect, noAA);
17 // drawRect(rect, noAA);
18 // can leave 1 pixel wide remnants of the first rect.
19 static void Draw(SkCanvas* canvas, const SkRect& rect) { argument
26 // draw a black rect through the clip
28 canvas->clipRect(rect);
32 // now draw the white rect on top
34 canvas->drawRect(rect, p);
/external/webrtc/webrtc/modules/desktop_capture/x11/
H A Dx_server_pixel_buffer.h56 // that |rect| is not larger than window_size().
57 void CaptureRect(const DesktopRect& rect, DesktopFrame* frame);
66 const DesktopRect& rect,
69 const DesktopRect& rect,
/external/opencv/cv/src/
H A DmycvHaarDetectObjects.cpp61 rect[CV_HAAR_FEATURE_MAX]; member in struct:MyCvHidHaarFeature
218 if( classifier->haar_feature[l].rect[k].r.width )
220 CvRect r = classifier->haar_feature[l].rect[k].r;
304 if( fabs(feature->rect[2].weight) < DBL_EPSILON ||
305 feature->rect[2].r.width == 0 ||
306 feature->rect[2].r.height == 0 )
307 memset( &(node->feature.rect[2]), 0, sizeof(node->feature.rect[2]) );
349 int rect_count = 2 + (classifier->haar_feature->rect[2].r.width != 0);
358 ipp_features[k] = classifier->haar_feature->rect[
1254 CvRect rect = cvRect(ix,iy,win_size.width,win_size.height); local
1269 CvRect rect = cvRect(ix,iy,win_size.width,win_size.height); local
1449 CvRect* rect = (CvRect*)cvGetSeqElem( seq, i ); local
[all...]
/external/opencv3/modules/cudalegacy/test/
H A DTestRectStdDev.h55 Ncv32u width, Ncv32u height, NcvRect32u rect, Ncv32f scaleFactor,
70 NcvRect32u rect; member in class:TestRectStdDev
/external/pdfium/fpdfsdk/include/fxedit/
H A Dfxet_list.h50 CLST_Rect(const CPDF_Rect& rect) { argument
51 left = rect.left;
52 top = rect.top;
53 right = rect.right;
54 bottom = rect.bottom;
61 const CLST_Rect operator=(const CPDF_Rect& rect) { argument
62 left = rect.left;
63 top = rect.top;
64 right = rect.right;
65 bottom = rect
155 SetPlateRect(const CPDF_Rect& rect) argument
157 SetContentRect(const CLST_Rect& rect) argument
[all...]
/external/pdfium/xfa/src/fwl/src/theme/
H A Dpushbuttontp.cpp39 CFX_RectF& rect = pParams->m_rtPart; local
40 FX_FLOAT fRight = rect.right();
41 FX_FLOAT fBottom = rect.bottom();
44 strokePath.MoveTo(rect.left + PUSHBUTTON_SIZE_Corner, rect.top);
45 strokePath.LineTo(fRight - PUSHBUTTON_SIZE_Corner, rect.top);
46 strokePath.LineTo(fRight, rect.top + PUSHBUTTON_SIZE_Corner);
49 strokePath.LineTo(rect.left + PUSHBUTTON_SIZE_Corner, fBottom);
50 strokePath.LineTo(rect.left, fBottom - PUSHBUTTON_SIZE_Corner);
51 strokePath.LineTo(rect
[all...]
/external/skia/include/effects/
H A DSkPaintImageFilter.h20 * @param paint Paint to use when filling the rect.
21 * @param rect Rectangle of output pixels. If NULL or a given crop edge is
25 static SkImageFilter* Create(const SkPaint& paint, const CropRect* rect = NULL);
38 SkPaintImageFilter(const SkPaint& paint, const CropRect* rect);
/external/skia/src/gpu/batches/
H A DGrAAStrokeRectBatch.h32 const SkRect& rect,
38 const SkRect& rect,
/external/opencv3/apps/traincascade/
H A Dhaarfeatures.cpp249 rect[0].r = rect[1].r = rect[2].r = Rect(0,0,0,0);
250 rect[0].weight = rect[1].weight = rect[2].weight = 0;
260 rect[0].r.x = x0;
261 rect[0].r.y = y0;
262 rect[0].r.width = w0;
263 rect[
[all...]
/external/pdfium/xfa/src/fdp/src/tto/
H A Dfde_textout.cpp183 CFX_Rect& rect) {
185 rtText.Set((FX_FLOAT)rect.left, (FX_FLOAT)rect.top, (FX_FLOAT)rect.Width(),
186 (FX_FLOAT)rect.Height());
188 rect.Set((int32_t)rtText.left, (int32_t)rtText.top, (int32_t)rtText.Width(),
193 CFX_RectF& rect) {
195 rect.width = 0.0f;
196 rect.height = 0.0f;
200 rm.TransformRect(rect);
181 CalcSize(const FX_WCHAR* pwsStr, int32_t iLength, CFX_Rect& rect) argument
191 CalcSize(const FX_WCHAR* pwsStr, int32_t iLength, CFX_RectF& rect) argument
214 CalcLogicSize(const FX_WCHAR* pwsStr, int32_t iLength, CFX_RectF& rect) argument
224 CalcTextSize(const FX_WCHAR* pwsStr, int32_t iLength, CFX_RectF& rect) argument
286 SetLineWidth(CFX_RectF& rect) argument
350 DrawText(const FX_WCHAR* pwsStr, int32_t iLength, const CFX_Rect& rect) argument
358 DrawText(const FX_WCHAR* pwsStr, int32_t iLength, const CFX_RectF& rect) argument
376 DrawLogicText(const FX_WCHAR* pwsStr, int32_t iLength, const CFX_RectF& rect) argument
385 DrawText(const FX_WCHAR* pwsStr, int32_t iLength, const CFX_RectF& rect, const CFX_RectF& rtClip) argument
491 LoadText(const FX_WCHAR* pwsStr, int32_t iLength, const CFX_RectF& rect) argument
555 RetriecePieces(FX_DWORD dwBreakStatus, int32_t& iStartChar, int32_t& iPieceWidths, FX_BOOL bReload, const CFX_RectF& rect) argument
691 Reload(const CFX_RectF& rect) argument
703 ReloadLinePiece(CFDE_TTOLine* pLine, const CFX_RectF& rect) argument
734 DoAlignment(const CFX_RectF& rect) argument
892 CFX_RectF rect = m_rectArray.GetAt(iCharIndex - pPiece->iStartChar); local
[all...]
/external/opencv/cvaux/src/
H A D_cvfacedetection.h136 inline MouthFaceTemplate(long lNumber,CvRect rect,double dEyeWidth,double dEyeHeight,double dDistanceBetweenEye,double dDistanceEyeAboveMouth);
141 inline MouthFaceTemplate::MouthFaceTemplate(long lNumber,CvRect rect,double dEyeWidth,double dEyeHeight, argument
145 CvRect MouthRect = rect;
148 CvRect LeftEyeRect = cvRect(cvRound(rect.x - (dEyeWidth + dDistanceBetweenEye/(double)2 - (double)rect.width/(double)2)),
149 cvRound(rect.y - dDistanceEyeAboveMouth - dEyeHeight),
153 CvRect RightEyeRect = cvRect(cvRound(rect.x + (double)rect.width/(double)2 + dDistanceBetweenEye/(double)2),
154 cvRound(rect.y - dDistanceEyeAboveMouth - dEyeHeight),
158 // CvRect NoseRect = cvRect(cvRound(rect
383 BoostingFaceTemplate(long lNumber,CvRect rect) argument
[all...]
/external/lzma/CPP/Windows/
H A DWindow.h77 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); }
137 RECT rect; local
138 ::GetWindowRect(hwnd, &rect);
140 p1.x = rect.left;
141 p1.y = rect.top;
143 return BOOLToBool(::MoveWindow(hwnd, p1.x, p1.y, xSize, rect.bottom - rect.top, TRUE));
146 void ScreenToClient(RECT *rect) argument
149 p1.x = rect
162 GetClientRect(LPRECT rect) argument
171 InvalidateRect(LPCRECT rect, bool backgroundErase = true) argument
[all...]
/external/skia/tests/
H A DVkClearTests.cpp64 SkIRect rect = SkIRect::MakeWH(5, 5); local
66 gpu->clear(rect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget());
76 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
88 gpu->clear(rect, myColor, tex->asRenderTarget());
130 SkIRect rect; local
131 rect = SkIRect::MakeXYWH(0, 0, subWidth, subHeight);
132 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
133 rect = SkIRect::MakeXYWH(subWidth, 0, subWidth, subHeight);
134 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
135 rect
[all...]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
H A DSeriesRenderer.java56 * Draw the legend icon in the rect passed in.
58 * @param rect
60 protected abstract void doDrawLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter); argument
62 public void drawSeriesLegendIcon(Canvas canvas, RectF rect, SeriesFormatterType formatter) { argument
66 canvas.clipRect(rect, Region.Op.INTERSECT);
67 doDrawLegendIcon(canvas, rect, formatter);
/external/opencv3/samples/cpp/
H A Dmask_tmpl.cpp58 Rect rect; local
62 rect = Rect(minLoc, tmpl.size());
64 rect = Rect(maxLoc, tmpl.size());
66 rectangle(img, rect, Scalar(0, 255, 0), 2);
/external/pdfium/xfa/src/fwl/src/basewidget/
H A Dfwl_scrollbarimp.cpp115 FWL_ERR CFWL_ScrollBarImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) { argument
117 rect.Set(0, 0, 0, 0);
123 rect.Set(0, 0, (*pfMinWidth), (*pfMinWidth) * 3);
125 rect.Set(0, 0, (*pfMinWidth) * 3, (*pfMinWidth));
127 CFWL_WidgetImp::GetWidgetRect(rect, TRUE);
129 rect = m_pProperties->m_rtWidget;
311 void CFWL_ScrollBarImp::CalcMinButtonRect(CFX_RectF& rect) { argument
321 pTheme->GetPartRect(&pPart, rect);
323 rect.left = m_rtClient.left;
324 rect
329 CalcMaxButtonRect(CFX_RectF& rect) argument
349 CalcThumbButtonRect(CFX_RectF& rect) argument
444 CalcMinTrackRect(CFX_RectF& rect) argument
476 CalcMaxTrackRect(CFX_RectF& rect) argument
551 GetTrackRect(CFX_RectF& rect, FX_BOOL bLower) argument
[all...]
/external/skia/bench/
H A DImageFilterDAGBench.cpp39 SkRect rect = SkRect::Make(SkIRect::MakeWH(400, 400)); variable
40 canvas->drawRect(rect, paint);
69 SkRect rect = SkRect::Make(SkIRect::MakeWH(400, 400)); variable
70 canvas->drawRect(rect, paint);

Completed in 948 milliseconds

1234567891011>>