Searched refs:rect (Results 176 - 200 of 766) sorted by relevance

1234567891011>>

/external/skia/include/core/
H A DSkRRect.h19 // add validate method (all radii positive, all radii sums < rect size, etc.)
22 // add heart rect computation (max rect inside RR)
23 // add 9patch rect computation
37 The SkRRect class represents a rounded rect with a potentially different
58 //!< The RR is actually a (non-empty) rect (i.e., at least one radius
68 //!< the curves) nor a rect (i.e., both radii are non-zero)
73 //!< neither an rect, oval, nor a simple RR. It is called "nine patch"
75 //!< rect with edges that divide the RR into an 9 rectangular patches:
127 * Set this RR to match the supplied rect
129 setRect(const SkRect& rect) argument
156 MakeRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad) argument
210 const SkRect& rect() const { return fRect; } function in class:SkRRect
[all...]
H A DSkPathRef.h106 void setBounds(const SkRect& rect) { fPathRef->setBounds(rect); } argument
164 * @param rect returns the bounding rect of this oval. It's a circle
172 bool isOval(SkRect* rect) const {
173 if (fIsOval && rect) {
174 *rect = this->getBounds();
326 // using an inverted rect instead of fBoundsIsDirty and always recalculating fIsFinite.
333 void setBounds(const SkRect& rect) { argument
334 SkASSERT(rect
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_miptree.c90 struct nv30_rect *rect)
95 rect->w = u_minify(pt->width0, level) << mt->ms_x;
96 rect->w = util_format_get_nblocksx(pt->format, rect->w);
97 rect->h = u_minify(pt->height0, level) << mt->ms_y;
98 rect->h = util_format_get_nblocksy(pt->format, rect->h);
99 rect->d = 1;
100 rect->z = 0;
103 rect
88 define_rect(struct pipe_resource *pt, unsigned level, unsigned z, unsigned x, unsigned y, unsigned w, unsigned h, struct nv30_rect *rect) argument
[all...]
/external/pdfium/fpdfsdk/src/formfiller/
H A DFFL_FormFiller.cpp71 CPDF_Rect rect = CPWL_Utils::InflateRect(rcWin, 1); local
73 return rect.GetOutterRect();
124 FX_RECT rect = GetViewBBox(pPageView, pAnnot); local
125 InvalidateRect(rect.left, rect.top, rect.right, rect.bottom);
127 if (!rect.Contains((int)point.x, (int)point.y))
482 CPDF_Rect CFFL_FormFiller::FFLtoPWL(const CPDF_Rect& rect) { argument
486 CPDF_Rect temp = rect;
492 PWLtoFFL(const CPDF_Rect& rect) argument
525 FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect) argument
636 FX_RECT rect = GetViewBBox(pPageView, pAnnot); local
644 FX_RECT rect = GetViewBBox(pPageView, pAnnot); local
660 FX_RECT rect = GetViewBBox(pPageView, pAnnot); local
676 FX_RECT rect = GetViewBBox(pPageView, pAnnot); local
[all...]
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
H A Ddxgi_native.cpp75 RECT *rect,
81 rect->left = 0;
82 rect->top = 0;
83 rect->right = INT_MAX;
84 rect->bottom = INT_MAX;
1102 RECT rect; local
1113 hr = parent->backend->BeginPresent(desc.OutputWindow, &present_cookie, &cur_window, &rect, &rgndata, &preserve_aspect_ratio);
1117 if(!cur_window || rect.left >= rect.right || rect
71 BeginPresent( HWND hwnd, void** present_cookie, void** window, RECT *rect, RGNDATA **rgndata, BOOL* preserve_aspect_ratio ) argument
[all...]
/external/pdfium/xfa/src/fwl/src/theme/
H A Dscrollbartp.cpp103 CFX_RectF rect(*pRect);
105 rect.Deflate(1, 0);
106 if (rect.IsEmpty(0.1f)) {
109 path.AddRectangle(rect.left, rect.top, rect.width, rect.height);
110 DrawAxialShading(pGraphics, rect.left, rect.top, rect
[all...]
/external/skia/src/effects/
H A DSkBlurMaskFilter.cpp210 if (!prepare_to_draw_into_mask(rrect.rect(), mask)) {
347 if (rect_exceeds(rrect.rect(), SkIntToScalar(32767))) {
353 srcM.fBounds = rrect.rect().roundOut();
359 // special case for fast round rect blur
389 if (totalSmallWidth >= rrect.rect().width()) {
398 if (totalSmallHeight >= rrect.rect().height()) {
478 // special case for fast rect blur
491 * smallR is the smallest version of 'rect' that will still guarantee that
497 * pixels from the original rect.
502 * with our outer-rect (dst
610 Create(GrTextureProvider *textureProvider, const SkRect& rect, float sigma) argument
770 SkRect rect = rbe.getRect(); local
806 GrRectBlurEffect(const SkRect& rect, float sigma, GrTexture *blurProfile, GrSLPrecision precision) argument
868 SkRect rect; local
1125 SkRect rect = rrect.getBounds(); local
[all...]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DLineAndPointRenderer.java52 public void doDrawLegendIcon(Canvas canvas, RectF rect, LineAndPointFormatter formatter) { argument
54 float centerY = rect.centerY();
55 float centerX = rect.centerX();
58 canvas.drawRect(rect, formatter.getFillPaint());
61 canvas.drawLine(rect.left, rect.bottom, rect.right, rect.top, formatter.getLinePaint());
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3dapi/
H A Dgalliumdxgi.idl70 * *window and *rect are the window and subrectangle
84 * However, the rect field should still be set as normal if possible (especially
99 [out] RECT* rect,
/external/opencv/cvaux/include/
H A Dcvaux.hpp68 { return m_comp.rect; }
85 { m_comp.rect = window; return true; }
/external/skia/gm/
H A Dbadpaint.cpp46 SkRect rect = SkRect::MakeXYWH(10, 10, 80, 80); variable
48 canvas->drawRect(rect, fPaints[i]);
H A Drepeated_bitmap.cpp19 SkRect rect = SkRect::MakeLTRB(-68.0f, -68.0f, 68.0f, 68.0f); local
30 canvas->drawRect(rect, paint);
H A Dtextblobgeometrychange.cpp52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); variable
55 canvas->drawRect(rect, rectPaint);
H A Dtextblobuseaftergpufree.cpp53 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); variable
56 canvas->drawRect(rect, rectPaint);
H A Dthinstrokedrects.cpp35 static const SkRect rect = { 0, 0, 10, 10 }; variable
48 canvas->drawRect(rect, paint);
/external/skia/src/gpu/gl/
H A DGrGLRenderTarget.h38 void setViewport(const GrGLIRect& rect) { fViewport = rect; } argument
/external/skia/tools/debugger/
H A DSkObjectParser.h54 @param rect SkIRect
56 static SkString* IRectToString(const SkIRect& rect);
90 @param rect SkRect
92 static SkString* RectToString(const SkRect& rect, const char* title = nullptr);
H A DSkObjectParser.cpp108 SkString* SkObjectParser::IRectToString(const SkIRect& rect) { argument
111 mRect->appendS32(rect.left());
113 mRect->appendS32(rect.top());
115 mRect->appendS32(rect.right());
117 mRect->appendS32(rect.bottom());
250 SkString* SkObjectParser::RectToString(const SkRect& rect, const char* title) { argument
260 mRect->appendScalar(rect.left());
262 mRect->appendScalar(rect.top());
264 mRect->appendScalar(rect.right());
266 mRect->appendScalar(rect
[all...]
/external/deqp/framework/referencerenderer/
H A DrrFragmentOperations.hpp83 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::Vec4& value, const WindowRectangle& rect);
84 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::IVec4& value, const WindowRectangle& rect);
85 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::UVec4& value, const WindowRectangle& rect);
86 void clearMultisampleDepthBuffer (const tcu::PixelBufferAccess& dst, float value, const WindowRectangle& rect);
87 void clearMultisampleStencilBuffer (const tcu::PixelBufferAccess& dst, int value, const WindowRectangle& rect);
/external/opencv3/apps/traincascade/
H A Dhaarfeatures.h59 } rect[CV_HAAR_FEATURE_MAX]; member in class:CvHaarEvaluator::Feature
82 float ret = rect[0].weight * (img[fastRect[0].p0] - img[fastRect[0].p1] - img[fastRect[0].p2] + img[fastRect[0].p3] ) +
83 rect[1].weight * (img[fastRect[1].p0] - img[fastRect[1].p1] - img[fastRect[1].p2] + img[fastRect[1].p3] );
84 if( rect[2].weight != 0.0f )
85 ret += rect[2].weight * (img[fastRect[2].p0] - img[fastRect[2].p1] - img[fastRect[2].p2] + img[fastRect[2].p3] );
/external/opencv3/modules/imgproc/src/
H A Dsamplers.cpp53 Rect rect; local
58 rect.x = 0;
62 rect.x = -ip.x;
63 if( rect.x > win_size.width )
64 rect.x = win_size.width;
68 rect.width = win_size.width;
71 rect.width = src_size.width - ip.x - 1;
72 if( rect.width < 0 )
74 src += rect.width*pix_size;
75 rect
[all...]
/external/opencv3/samples/cpp/
H A Ddelaunay2.cpp111 Rect rect(0, 0, 600, 600);
113 Subdiv2D subdiv(rect);
114 Mat img(rect.size(), CV_8UC3);
122 Point2f fp( (float)(rand()%(rect.width-10)+5),
123 (float)(rand()%(rect.height-10)+5));
/external/opencv3/samples/gpu/
H A Dgeneralized_hough.cpp166 RotatedRect rect; local
167 rect.center = pos;
168 rect.size = Size2f(templ.cols * scale, templ.rows * scale);
169 rect.angle = angle;
172 rect.points(pts);
/external/pdfium/xfa/include/fwl/core/
H A Dfwl_widget.h27 FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
28 FWL_ERR GetGlobalRect(CFX_RectF& rect);
29 FWL_ERR SetWidgetRect(const CFX_RectF& rect);
30 FWL_ERR GetClientRect(CFX_RectF& rect);
106 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE) = 0;
/external/pdfium/xfa/include/fwl/theme/
H A Dformtp.h28 void CalCloseBox(IFWL_Widget* pWidget, CFX_RectF& rect);
29 void CalMaxBox(IFWL_Widget* pWidget, CFX_RectF& rect);
30 void CalMinBox(IFWL_Widget* pWidget, CFX_RectF& rect);
31 void CalCaption(IFWL_Widget* pWidget, CFX_RectF& rect);
32 void CalIcon(IFWL_Widget* pWidget, CFX_RectF& rect);

Completed in 665 milliseconds

1234567891011>>