Searched refs:rect (Results 151 - 175 of 766) sorted by relevance

1234567891011>>

/external/skia/src/core/
H A DSkSpecialImage.cpp157 static bool rect_fits(const SkIRect& rect, int width, int height) { argument
158 return rect.fLeft >= 0 && rect.fLeft < width && rect.fLeft < rect.fRight &&
159 rect.fRight >= 0 && rect.fRight <= width &&
160 rect.fTop >= 0 && rect.fTop < height && rect
[all...]
/external/pdfium/xfa/src/fwl/src/core/
H A Dfwl_widgetimp.cpp16 FWL_ERR IFWL_Widget::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) { argument
18 ->GetWidgetRect(rect, bAutoSize);
20 FWL_ERR IFWL_Widget::GetGlobalRect(CFX_RectF& rect) { argument
21 return static_cast<CFWL_WidgetImp*>(GetImpl())->GetGlobalRect(rect);
23 FWL_ERR IFWL_Widget::SetWidgetRect(const CFX_RectF& rect) { argument
24 return static_cast<CFWL_WidgetImp*>(GetImpl())->SetWidgetRect(rect);
26 FWL_ERR IFWL_Widget::GetClientRect(CFX_RectF& rect) { argument
27 return static_cast<CFWL_WidgetImp*>(GetImpl())->GetClientRect(rect);
167 FWL_ERR CFWL_WidgetImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) { argument
171 rect
182 GetGlobalRect(CFX_RectF& rect) argument
194 SetWidgetRect(const CFX_RectF& rect) argument
214 GetClientRect(CFX_RectF& rect) argument
438 CFX_RectF rect; local
596 GetRelativeRect(CFX_RectF& rect) argument
653 CFX_RectF rect; local
664 CalcTextRect(const CFX_WideString& wsText, IFWL_ThemeProvider* pTheme, FX_DWORD dwTTOStyles, int32_t iTTOAlign, CFX_RectF& rect) argument
863 CFX_RectF rect; local
1047 GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) argument
1078 FWL_SetWidgetRect(IFWL_Widget* widget, const CFX_RectF& rect) argument
[all...]
/external/opencv/cv/src/
H A Dcvpyrsegmentation.cpp61 _CvRect16u rect; /* ROI for the connected component */ member in struct:_CvPyramid
77 _CvRect16u rect; /* ROI for the connected component */ member in struct:_CvPyramidC3
311 p_cur->rect.x2 = 0;
731 p_cur->rect.x2 = 0;
1081 icvMaxRoi1( &(p->rect), j, i );
1091 icvMaxRoi( &(p->rect), &(p_cur[-1].rect) );
1151 icvMaxRoi1( &(p->rect), j + 1, i );
1161 icvMaxRoi( &(p->rect), &(p_cur[-1].rect) );
[all...]
H A Dcvhaar.cpp61 rect[CV_HAAR_FEATURE_MAX]; member in struct:CvHidHaarFeature
236 if( classifier->haar_feature[l].rect[k].r.width )
238 CvRect r = classifier->haar_feature[l].rect[k].r;
322 if( fabs(feature->rect[2].weight) < DBL_EPSILON ||
323 feature->rect[2].r.width == 0 ||
324 feature->rect[2].r.height == 0 )
325 memset( &(node->feature.rect[2]), 0, sizeof(node->feature.rect[2]) );
367 int rect_count = 2 + (classifier->haar_feature->rect[2].r.width != 0);
376 ipp_features[k] = classifier->haar_feature->rect[
1222 CvRect rect = cvRect(ix,iy,win_size.width,win_size.height); local
1237 CvRect rect = cvRect(ix,iy,win_size.width,win_size.height); local
1413 CvRect* rect = (CvRect*)cvGetSeqElem( seq, i ); local
[all...]
/external/opencv/cvaux/src/
H A D_cvvectrack.h98 CvRect rect; local
99 rect.x = r.x * decr;
100 rect.y = r.y * decr;
101 rect.width = r.width * decr;
102 rect.height = r.height * decr;
103 return rect;
H A Dcvsegment.cpp183 region->rect.x = XMin;
184 region->rect.y = YMin;
185 region->rect.width = XMax - XMin + 1;
186 region->rect.height = YMax - YMin + 1;
209 CvRect rect )
211 uchar* img = pImage + step * rect.y + rect.x * 3;
212 uchar* mask = pMask + maskStep * rect.y + rect.x;
216 for( y = 0; y < rect
335 icvGetComponent( uchar* img, int step, CvRect rect, CvMemStorage* storage ) argument
[all...]
/external/opencv3/modules/imgproc/test/
H A Dtest_boundingrect.cpp111 cv::Rect rect[2] = { boundingRect(src), boundingRect(Mat(src)) }; local
113 for (int i = 0; i < 2; ++i) if (rect[i] != right)
126 cout << "Right rect (x, y, w, h): [" << right.x << ", " << right.y << ", " << right.width << ", " << right.height << "]" << endl;
127 cout << "Result rect (x, y, w, h): [" << rect[i].x << ", " << rect[i].y << ", " << rect[i].width << ", " << rect[i].height << "]" << endl;
H A Dtest_grabcut.cpp92 Rect rect(Point(24, 126), Point(483, 294));
98 grabCut( img, mask, rect, bgdModel, fgdModel, 0, GC_INIT_WITH_RECT );
99 grabCut( img, mask, rect, bgdModel, fgdModel, 2, GC_EVAL );
122 rect = Rect();
123 grabCut( img, mask, rect, bgdModel, fgdModel, 0, GC_INIT_WITH_MASK );
124 grabCut( img, mask, rect, bgdModel, fgdModel, 1, GC_EVAL );
/external/pdfium/xfa/src/fwl/src/basewidget/
H A Dfwl_caretimp.cpp110 CFX_RectF rect; local
111 GetWidgetRect(rect);
112 rect.Set(0, 0, rect.width, rect.height);
116 param.m_rtPart = rect;
/external/skia/tests/
H A DImageNewShaderTest.cpp35 SkRect rect = SkRect::MakeXYWH( local
41 sourceCanvas->drawRect(rect, paintColor);
59 SkIRect rect = info.bounds(); local
62 sourceSurface->getCanvas()->readPixels(rect, &bmOrig);
66 destinationCanvas->readPixels(rect, &bm);
89 destinationCanvas->readPixels(rect, &bmt);
/external/libvterm/include/
H A Dvterm.h37 /* true if the rect contains the point */
44 /* move a rect */
45 static inline void vterm_rect_move(VTermRect *rect, int row_delta, int col_delta) argument
47 rect->start_row += row_delta; rect->end_row += row_delta;
48 rect->start_col += col_delta; rect->end_col += col_delta;
188 int (*scrollrect)(VTermRect rect, int downward, int rightward, void *user);
190 int (*erase)(VTermRect rect, int selective, void *user);
237 int (*damage)(VTermRect rect, voi
[all...]
/external/opencv3/modules/core/misc/java/test/
H A DPointTest.java44 Rect rect = new Rect(0, 0, 5, 3);
45 assertTrue(p1.inside(rect));
48 assertFalse(p2.inside(rect));
/external/pdfium/xfa/src/fdp/src/fde/
H A Dfde_geobject.h24 virtual void AddEllipse(const CFX_RectF& rect);
29 virtual void AddRectangle(const CFX_RectF& rect);
43 const CFX_RectF& rect,
/external/skia/bench/
H A DBlurRoundRectBench.cpp38 return SkIPoint::Make(SkScalarCeilToInt(fRRect.rect().width()),
39 SkScalarCeilToInt(fRRect.rect().height()));
75 canvas->drawRect(fRRect.rect(), dullPaint);
/external/skia/gm/
H A Dcircularclips.cpp48 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); variable
60 canvas->drawRect(rect, fillPaint);
79 canvas->drawRect(rect, fillPaint);
H A Dbigmatrix.cpp42 SkRect rect = {pt.fX - small, pt.fY - small, local
44 canvas->drawRect(rect, paint);
66 rect.setLTRB(pt.fX - small, pt.fY - small,
68 canvas->drawRect(rect, paint);
H A Dlinepaths.cpp91 SkRect rect = SkRect::MakeWH(100*SK_Scalar1, 30*SK_Scalar1); local
97 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0);
102 canvas->translate(0, rect.height() + 40 * SK_Scalar1);
107 canvas->translate(rect.width() + 40 * SK_Scalar1, 0);
111 drawPath(path.fPath, canvas, color, rect,
120 canvas->drawRect(rect, rectPaint);
129 0, rect.height() + 12 * SK_Scalar1,
133 0, rect.height() + 24 * SK_Scalar1,
137 0, rect.height() + 36 * SK_Scalar1,
H A Dnested.cpp48 static void AddShape(SkPath* path, const SkRect& rect, Shapes shape, SkPath::Direction dir) { argument
51 path->addRect(rect, dir);
55 rr.setRectXY(rect, 5, 5);
60 path->addOval(rect, dir);
/external/skia/src/effects/
H A DSkPaintImageFilter.cpp55 SkRect rect = SkRect::MakeWH(SkIntToScalar(bounds.width()), SkIntToScalar(bounds.height())); local
58 inverse.mapRect(&rect);
61 canvas.drawRect(rect, fPaint);
71 // computeFastBounds() doesn't currently take the crop rect into account,
72 // so we can't compute it. If a full crop rect is set, we should return true here.
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
H A DMoreImmutablesTest.java52 Rectangle rect = new Rectangle(10, 20, 30, 40);
53 String dump = yaml.dump(rect);
56 assertEquals(rect, loaded);
/external/webrtc/webrtc/modules/desktop_capture/mac/
H A Ddesktop_configuration.mm50 // Inverts the position of |rect| from bottom-up coordinates to top-down,
53 DesktopRect* rect) {
55 *rect = DesktopRect::MakeXYWH(
56 rect->left(), bounds.bottom() - rect->bottom(),
57 rect->width(), rect->height());
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_path.cpp17 CFX_ClipRgn::CFX_ClipRgn(const FX_RECT& rect) { argument
19 m_Box = rect;
27 void CFX_ClipRgn::Reset(const FX_RECT& rect) { argument
29 m_Box = rect;
32 void CFX_ClipRgn::IntersectRect(const FX_RECT& rect) { argument
34 m_Box.Intersect(rect);
38 IntersectMaskRect(rect, m_Box, m_Mask);
42 void CFX_ClipRgn::IntersectMaskRect(FX_RECT rect, argument
47 m_Box = rect;
193 CFX_FloatRect rect;
[all...]
/external/pdfium/third_party/agg23/
H A Dagg_renderer_base.h41 m_clip_box = rect(0, 0, ren.width() - 1, ren.height() - 1);
64 const rect& clip_box() const
84 const rect& bounding_clip_box() const
160 rect m_clip_box;
/external/pdfium/xfa/include/fwl/adapter/
H A Dfwl_adaptermonitormgr.h18 virtual FWL_HMONITOR GetMonitorByRect(const CFX_RectF& rect) = 0;
/external/pdfium/xfa/src/fwl/src/core/include/
H A Dfwl_panelimp.h21 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);

Completed in 1516 milliseconds

1234567891011>>