Searched refs:rect (Results 1 - 25 of 766) sorted by relevance

1234567891011>>

/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/efl/
H A DIntRectEfl.cpp28 IntRect::IntRect(const Eina_Rectangle& rect) argument
29 : m_location(IntPoint(rect.x, rect.y))
30 , m_size(rect.w, rect.h)
36 Eina_Rectangle rect = {x(), y(), width(), height()}; local
37 return rect;
/macosx-10.9.5/WebCore-7537.78.1/dom/
H A DClientRect.cpp36 ClientRect::ClientRect(const IntRect& rect) argument
37 : m_rect(rect)
41 ClientRect::ClientRect(const FloatRect& rect) argument
42 : m_rect(rect)
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/blackberry/
H A DIntRectBlackBerry.cpp26 IntRect::IntRect(const BlackBerry::Platform::IntRect& rect) argument
27 : m_location(rect.x(), rect.y()), m_size(rect.width(), rect.height())
H A DFloatRectBlackBerry.cpp26 FloatRect::FloatRect(const BlackBerry::Platform::FloatRect& rect) argument
27 : m_location(rect.x(), rect.y())
28 , m_size(rect.width(), rect.height())
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderRegionSet.cpp46 // Whenever the last region is a set, it always expands its region rect to consume all
49 LayoutRect rect(flowThreadPortionRect());
52 // flow thread's remaining logical height including its overflow and expand our rect
57 LayoutUnit logicalTopOffset = isHorizontal ? rect.y() : rect.x();
60 setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow, isHorizontal ? logicalHeightWithOverflow : rect.height()));
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/
H A DExtras.py17 def makeRandomPointInRect(rect):
19 x = random.uniform(NSMinX(rect), NSMaxX(rect)),
20 y = random.uniform(NSMinY(rect), NSMaxY(rect)))
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/
H A DExtras.py17 def makeRandomPointInRect(rect):
19 x = random.uniform(NSMinX(rect), NSMaxX(rect)),
20 y = random.uniform(NSMinY(rect), NSMaxY(rect)))
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DCGImageView.py17 def drawRect_(self, rect):
23 CGRectMake(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height))
26 CGContextAddRect(ctx, CGRectMake(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height))
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DCGImageView.py17 def drawRect_(self, rect):
23 CGRectMake(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height))
26 CGContextAddRect(ctx, CGRectMake(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height))
/macosx-10.9.5/tcl-102/tk84/tk/win/
H A DtkWinRegion.c37 RECT rect;
38 memset(&rect, 0, sizeof(RECT));
39 return (TkRegion) CreateRectRgnIndirect(&rect);
88 RECT rect;
89 GetRgnBox((HRGN)r, &rect);
90 rect_return->x = (short) rect.left;
91 rect_return->y = (short) rect.top;
92 rect_return->width = (short) (rect.right - rect.left);
93 rect_return->height = (short) (rect
36 RECT rect; local
85 RECT rect; local
173 RECT rect; local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/
H A DPath.cpp98 addRoundedRect(r.rect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radii().bottomRight());
101 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii, RoundedRectStrategy strategy) argument
103 if (rect.isEmpty())
107 FloatSize halfSize(rect.width() / 2, rect.height() / 2);
109 // Apply the SVG corner radius constraints, per the rect section of the SVG shapes spec: if
126 addPathForRoundedRect(rect, radius, radius, radius, radius, strategy);
129 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius, RoundedRectStrategy strategy) argument
131 if (rect.isEmpty())
134 if (rect
146 addPathForRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius, RoundedRectStrategy strategy) argument
162 addBeziersForRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/gtk/
H A DGtkPluginWidget.cpp59 GdkRectangle rect = coreRect;
60 gdk_window_invalidate_rect(window, &rect, FALSE);
65 IntRect rect = frameRect(); local
66 IntPoint loc = parent()->contentsToWindow(rect.location());
67 GtkAllocation allocation = { loc.x(), loc.y(), rect.width(), rect.height() };
69 gtk_widget_set_size_request(platformWidget(), rect.width(), rect.height());
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/PathDemo/
H A DDemoView.py21 def drawRect_(self, rect):
25 CGContextFillRect(context, rect)
28 rectangles(context, rect)
31 circles(context, rect)
34 bezierPaths(context, rect)
37 circleClipping(context, rect)
59 def randomPointInRect(rect):
61 x = random.uniform(CGRectGetMinX(rect), CGRectGetMaxX(rect)),
62 y = random.uniform(CGRectGetMinY(rect), CGRectGetMax
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/PathDemo/
H A DDemoView.py21 def drawRect_(self, rect):
25 CGContextFillRect(context, rect)
28 rectangles(context, rect)
31 circles(context, rect)
34 bezierPaths(context, rect)
37 circleClipping(context, rect)
59 def randomPointInRect(rect):
61 x = random.uniform(CGRectGetMinX(rect), CGRectGetMaxX(rect)),
62 y = random.uniform(CGRectGetMinY(rect), CGRectGetMax
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/
H A DIntRectCG.cpp40 IntRect enclosingIntRect(const CGRect& rect) argument
42 int l = static_cast<int>(floorf(rect.origin.x));
43 int t = static_cast<int>(floorf(rect.origin.y));
44 int r = static_cast<int>(ceilf(CGRectGetMaxX(rect)));
45 int b = static_cast<int>(ceilf(CGRectGetMaxY(rect)));
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/gtk/
H A DChunkedUpdateDrawingAreaGtk.cpp50 IntRect rect = updateChunk->rect(); local
51 gc.translate(-rect.x(), -rect.y());
52 m_webPage->drawRect(gc, updateChunk->rect());
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/
H A DIntRectMac.mm38 IntRect enclosingIntRect(const NSRect& rect)
40 int l = static_cast<int>(floorf(rect.origin.x));
41 int t = static_cast<int>(floorf(rect.origin.y));
42 int r = static_cast<int>(ceilf(NSMaxX(rect)));
43 int b = static_cast<int>(ceilf(NSMaxY(rect)));
/macosx-10.9.5/tcl-102/tk/tk/win/
H A DtkWinRegion.c37 RECT rect;
38 memset(&rect, 0, sizeof(RECT));
39 return (TkRegion) CreateRectRgnIndirect(&rect);
88 RECT rect;
90 GetRgnBox((HRGN)r, &rect);
91 rect_return->x = (short) rect.left;
92 rect_return->y = (short) rect.top;
93 rect_return->width = (short) (rect.right - rect.left);
94 rect_return->height = (short) (rect
36 RECT rect; local
85 RECT rect; local
244 RECT rect; local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/texmap/coordinated/
H A DAreaAllocator.cpp76 m_root->rect = IntRect(0, 0, m_size.width(), m_size.height());
103 if (m_root->rect.size() == m_size)
108 m_root->rect = IntRect(0, 0, m_size.width(), m_size.height());
121 while (m_root->rect.size() != m_size) {
122 if (m_root->rect.width() == m_size.width())
124 else if (m_root->rect.height() == m_size.height())
133 parent->largestFree = m_root->rect.size();
137 right->largestFree = m_root->rect.size();
139 parent->rect = IntRect(m_root->rect
285 release(const IntRect& rect) argument
[all...]
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/template/ProjectBuilder/File/
H A DRuby NSView subclass.rb19 def drawRect(rect)
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/template/Xcode2.x/ProjectBuilder/File/
H A DRuby NSView subclass.rb19 def drawRect(rect)
/macosx-10.9.5/bless-98/test/
H A Dtestcgtext.c44 CGRect rect; local
68 bzero(&rect, sizeof(rect));
69 rect.size.width = 500;
70 rect.size.height = 400;
72 //context = CGPDFContextCreateWithURL(url, &rect, NULL);
91 rect.origin.x = 10;
92 rect.origin.y = 15;
93 rect.size.width = 10;
94 rect
175 CGRect rect; local
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cggeometry.py57 rect = v
59 v = CGRectGetMinX(rect)
60 self.failUnlessEqual(v, min(rect.origin.x, rect.origin.x + rect.size.width))
61 v = CGRectGetMidX(rect)
62 self.failUnlessEqual(v, rect.origin.x + (rect.size.width/2))
64 v = CGRectGetMaxX(rect)
65 self.failUnlessEqual(v, max(rect
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cggeometry.py57 rect = v
59 v = CGRectGetMinX(rect)
60 self.assertEqual(v, min(rect.origin.x, rect.origin.x + rect.size.width))
61 v = CGRectGetMidX(rect)
62 self.assertEqual(v, rect.origin.x + (rect.size.width/2))
64 v = CGRectGetMaxX(rect)
65 self.assertEqual(v, max(rect
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/
H A DIntRectWin.cpp41 RECT rect = { x(), y(), maxX(), maxY() }; local
42 return rect;

Completed in 208 milliseconds

1234567891011>>