Searched defs:rect (Results 251 - 275 of 468) sorted by relevance

<<111213141516171819

/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/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c558 struct u_rect rect = { 0, res->width0, 0, res->height0 * res->depth0 }; local
559 return rect;
563 calc_topleft(struct vertex2f size, struct u_rect rect) argument
565 struct vertex2f res = { rect.x0 / size.x, rect.y0 / size.y };
570 calc_bottomright(struct vertex2f size, struct u_rect rect) argument
572 struct vertex2f res = { rect.x1 / size.x, rect.y1 / size.y };
H A Dvl_idct.c690 struct pipe_box rect = local
720 &rect
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_cmd.c940 SVGA3dRect *rect; local
943 ret = SVGA3D_BeginClear(swc, flags, color, depth, stencil, &rect, 1);
947 memset(rect, 0, sizeof *rect);
948 rect->x = x;
949 rect->y = y;
950 rect->w = w;
951 rect->h = h;
1130 SVGA3dRect *rect) // IN
1141 cmd->rect
1129 SVGA3D_SetViewport(struct svga_winsys_context *swc, SVGA3dRect *rect) argument
1168 SVGA3D_SetScissorRect(struct svga_winsys_context *swc, SVGA3dRect *rect) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d_api.c613 EGLint rect[4]; local
627 rect[0] = x;
629 rect[1] = surf->Height - y - height;
630 rect[2] = width;
631 rect[3] = height;
633 return swap_buffers(drv, dpy, surf, 1, rect, EGL_TRUE);
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_driver.c584 BoxPtr rect = REGION_RECTS(dirty); local
588 for (i = 0; i < num_cliprects; i++, rect++) {
589 clip[i].x1 = rect->x1;
590 clip[i].y1 = rect->y1;
591 clip[i].x2 = rect->x2;
592 clip[i].y2 = rect->y2;
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwmesa.c206 RECT rect; local
207 GetClientRect(WindowFromDC(hdc), &rect); local
208 *width = rect.right - rect.left;
209 *height = rect.bottom - rect.top;
/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...]
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/opencv/
H A Dcvjni.cpp433 CvRect *rect = (CvRect*)cvGetSeqElem(rects, i); local
434 if (rect == 0) {
440 jobject jrect = env->NewObject(jcls, jconstruct, rect->x, rect->y,
441 rect->width, rect->height);
509 sprintf(buffer, "Face rect + m_faceCropArea: (%d, %d) to (%d, %d)", face->x, face->y,
529 jobject rectToAndroidRect(JNIEnv* env, CvRect *rect) { argument
530 if (rect == 0) {
547 return env->NewObject(jcls, jconstruct, rect
[all...]
/external/opencv3/modules/cudalegacy/src/
H A DNCV.cpp729 NcvRect32u rect; local
730 rect.x = nr.x;
731 rect.y = nr.y;
732 rect.width = nr.width;
733 rect.height = nr.height;
734 return rect;
831 NcvRect32u rect = h_rects[i]; local
833 if (rect.x < dstWidth)
835 for (Ncv32u each=rect.y; each<rect
[all...]
/external/opencv3/modules/imgproc/test/
H A Dtest_floodfill.cpp201 odata[1] = comp.rect.x;
202 odata[2] = comp.rect.y;
203 odata[3] = comp.rect.width;
204 odata[4] = comp.rect.height;
214 cv::Rect rect; local
217 area = cv::floodFill( img, seed_pt, new_val, &rect, l_diff, u_diff, flags );
219 area = cv::floodFill( img, mask, seed_pt, new_val, &rect, l_diff, u_diff, flags );
221 odata[1] = rect.x;
222 odata[2] = rect.y;
223 odata[3] = rect
[all...]
/external/opencv3/modules/java/src/
H A Dimgproc+Subdiv2D.java57 // C++: Subdiv2D(Rect rect)
60 //javadoc: Subdiv2D::Subdiv2D(rect)
61 public Subdiv2D(Rect rect) argument
64 nativeObj = Subdiv2D_1(rect.x, rect.y, rect.width, rect.height);
227 // C++: void initDelaunay(Rect rect)
230 //javadoc: Subdiv2D::initDelaunay(rect)
231 public void initDelaunay(Rect rect) argument
[all...]
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_device.cpp244 FX_RECT rect = bbox.GetOutterRect(); local
246 if (!CreateCompatibleBitmap(&bitmap, FXSYS_round(rect.Width() * fScaleX),
247 FXSYS_round(rect.Height() * fScaleY))) {
254 if (!m_pDeviceDriver->GetDIBits(&bitmap, rect.left, rect.top, NULL)) {
265 matrix.TranslateI(-rect.left, -rect.top);
272 FX_RECT src_rect(0, 0, FXSYS_round(rect.Width() * fScaleX),
273 FXSYS_round(rect.Height() * fScaleY));
274 return m_pDeviceDriver->SetDIBits(&bitmap, 0, &src_rect, rect
[all...]
H A Dfx_ge_ps.cpp143 CFX_FloatRect rect = pPathData->GetBoundingBox(); local
145 rect.Transform(pObject2Device);
147 m_ClipBox.Intersect(rect.GetOutterRect());
167 CFX_FloatRect rect = pPathData->GetBoundingBox(pGraphState->m_LineWidth, local
169 rect.Transform(pObject2Device);
170 m_ClipBox.Intersect(rect.GetOutterRect());
/external/pdfium/fpdfsdk/src/
H A Dfpdf_flatten.cpp19 FX_BOOL IsValiableRect(CPDF_Rect rect, CPDF_Rect rcPage) { argument
20 if (rect.left - rect.right > 0.000001f || rect.bottom - rect.top > 0.000001f)
23 if (rect.left == 0.0f && rect.top == 0.0f && rect.right == 0.0f &&
24 rect.bottom == 0.0f)
28 if (rect
[all...]
/external/pdfium/fpdfsdk/src/pdfwindow/
H A DPWL_EditCtrl.cpp603 void CPWL_EditCtrl::GetTextRange(const CPDF_Rect& rect, argument
607 m_pEdit->SearchWordPlace(CPDF_Point(rect.left, rect.top)));
609 m_pEdit->SearchWordPlace(CPDF_Point(rect.right, rect.bottom)));
/external/pdfium/third_party/agg23/
H A Dagg_basics.h145 typedef rect_base<int> rect; typedef in namespace:agg
/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/pdfium/xfa/src/fwl/src/basewidget/include/
H A Dfwl_monthcalendarimp.h27 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
224 rect(rc),
229 CFX_RectF rect; member in struct:_DATEINFO
/external/pdfium/xfa/src/fwl/src/lightwidget/
H A Dcombobox.cpp219 FWL_ERR CFWL_ComboBox::GetBBox(CFX_RectF& rect) { argument
222 return static_cast<IFWL_ComboBox*>(m_pIface)->GetBBox(rect);
H A Dwidget.cpp53 FWL_ERR CFWL_Widget::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) { argument
56 return m_pIface->GetWidgetRect(rect, bAutoSize);
58 FWL_ERR CFWL_Widget::GetGlobalRect(CFX_RectF& rect) { argument
61 return m_pIface->GetGlobalRect(rect);
63 FWL_ERR CFWL_Widget::SetWidgetRect(const CFX_RectF& rect) { argument
66 return m_pIface->SetWidgetRect(rect);
68 FWL_ERR CFWL_Widget::GetClientRect(CFX_RectF& rect) { argument
71 return m_pIface->GetClientRect(rect);
209 CFX_RectF rect;
211 rect
295 CFX_RectF rect; local
[all...]
/external/pdfium/xfa/src/fxbarcode/oned/
H A DBC_OneDimWriter.cpp191 CFX_FloatRect rect((FX_FLOAT)locX, (FX_FLOAT)locY, (FX_FLOAT)(locX + geWidth),
194 rect.right -= 1;
196 matrix->TransformRect(rect);
197 FX_RECT re = rect.GetOutterRect();
348 CFX_PathData rect; local
349 rect.AppendRect((FX_FLOAT)x, (FX_FLOAT)y, (FX_FLOAT)(x + 1),
353 device->DrawPath(&rect, &matri, &stateData, m_barColor, 0,
/external/skia/gm/
H A Dgradients.cpp733 const SkRect rect = SkRect::MakeWH(SIZE, SIZE); local
745 canvas->drawRect(rect, paint);
H A Dmultipicturedraw.cpp279 // Two pictures with a rect clip on the second one
283 SkRect rect = pictures[0]->cullRect(); local
284 rect.inset(kInset, kInset);
286 canvas->clipRect(rect);
291 // Two pictures with a round rect clip on the second one
295 SkRect rect = pictures[0]->cullRect(); local
296 rect.inset(kInset, kInset);
299 rrect.setRectXY(rect, kInset, kInset);
444 * different clips (e.g., none, rect, rrect)

Completed in 762 milliseconds

<<111213141516171819