Searched refs:bounds (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/macosx-10.9.5/WebCore-7537.78.1/rendering/shapes/
H A DRectangleShape.cpp106 const FloatRoundedRect& bounds = shapeMarginBounds(); local
107 if (bounds.isEmpty())
113 if (y2 < bounds.y() || y1 >= bounds.maxY())
116 float x1 = bounds.x();
117 float x2 = bounds.maxX();
119 if (bounds.ry() > 0) {
120 if (y2 < bounds.y() + bounds.ry()) {
121 float yi = y2 - bounds
138 const FloatRoundedRect& bounds = shapePaddingBounds(); local
187 const FloatRoundedRect& bounds = shapePaddingBounds(); local
[all...]
H A DRectangleShape.h45 FloatRoundedRect(const FloatRect& bounds, const FloatSize& radii) argument
46 : FloatRect(bounds)
63 RectangleShape(const FloatRect& bounds, const FloatSize& radii) argument
65 , m_bounds(bounds, radii)
H A DShape.cpp45 static PassOwnPtr<Shape> createRectangleShape(const FloatRect& bounds, const FloatSize& radii) argument
47 ASSERT(bounds.width() >= 0 && bounds.height() >= 0 && radii.width() >= 0 && radii.height() >= 0);
48 return adoptPtr(new RectangleShape(bounds, radii));
93 static inline void ensureRadiiDoNotOverlap(FloatRect &bounds, FloatSize &radii) argument
95 float widthRatio = bounds.width() / (2 * radii.width());
96 float heightRatio = bounds.height() / (2 * radii.height());
117 FloatRect bounds(
125 ensureRadiiDoNotOverlap(bounds, cornerRadii);
126 FloatRect logicalBounds = physicalRectToLogical(bounds, logicalBoxSiz
[all...]
/macosx-10.9.5/IOGraphics-471.92.1/tools/
H A Dtimefb.c29 CGRect bounds; local
37 bounds = CGDisplayBounds(dspy);
55 bounds.size.height -= 40;
76 for (y = 0; y < bounds.size.height; y++)
78 for (x = 0; x < bounds.size.width; x++)
86 (int)bounds.size.width, (int)bounds.size.height,
87 i*bounds.size.width*bounds.size.height*4/(1e6*(currentTime() - t)), sum);
91 CGBlt_fillBytes(bounds
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyRectGradientView.py17 self.myGradient.drawInRect_relativeCenterPosition_(self.bounds(), self.myOffsetPt)
20 self.myGradient.drawInRect_angle_(self.bounds(), self.myAngle)
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyRectGradientView.py17 self.myGradient.drawInRect_relativeCenterPosition_(self.bounds(), self.myOffsetPt)
20 self.myGradient.drawInRect_angle_(self.bounds(), self.myAngle)
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DCGImageUtils.py182 def IIApplyTransformation(image, context, bounds):
195 IIRotateContext(image, context, bounds)
196 IIScaleContext(image, context, bounds)
198 # Draw the image to the given context centered inside the given bounds
199 def IIDrawImage(image, context, bounds):
218 math.floor((bounds.size.width - imageRect.size.width) / 2.0),
219 math.floor((bounds.size.height - imageRect.size.height) / 2.0))
226 floorf((bounds.size.width - imageRect.size.height) / 2.0),
227 floorf((bounds.size.height - imageRect.size.width) / 2.0))
235 # Rotates the context around the center point of the given bounds
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DCGImageUtils.py182 def IIApplyTransformation(image, context, bounds):
195 IIRotateContext(image, context, bounds)
196 IIScaleContext(image, context, bounds)
198 # Draw the image to the given context centered inside the given bounds
199 def IIDrawImage(image, context, bounds):
218 math.floor((bounds.size.width - imageRect.size.width) / 2.0),
219 math.floor((bounds.size.height - imageRect.size.height) / 2.0))
226 floorf((bounds.size.width - imageRect.size.height) / 2.0),
227 floorf((bounds.size.height - imageRect.size.width) / 2.0))
235 # Rotates the context around the center point of the given bounds
[all...]
/macosx-10.9.5/tcl-102/tk/tk/macosx/
H A DtkMacOSXEntry.c94 CGRect bounds;
151 bounds.origin.x = macDraw->xOff + MAC_OSX_FOCUS_WIDTH;
152 bounds.origin.y = macDraw->yOff + MAC_OSX_FOCUS_WIDTH;
153 bounds.size.width = Tk_Width(tkwin) - 2*MAC_OSX_FOCUS_WIDTH;
154 bounds.size.height = Tk_Height(tkwin) - 2*MAC_OSX_FOCUS_WIDTH;
158 ChkErr(HIThemeDrawFrame, &bounds, &info, dc.context, HIOrientation);
192 CGRect bounds;
239 bounds.origin.x = macDraw->xOff + Tk_Width(tkwin) - incDecWidth - 1;
240 bounds.origin.y = macDraw->yOff + MAC_OSX_FOCUS_WIDTH;
241 bounds
92 CGRect bounds; local
189 CGRect bounds; local
[all...]
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/Pong/
H A DPlayingView.rb15 @width = bounds.size.width
16 @height = bounds.size.height
31 OSX::NSRectFill(bounds)
/macosx-10.9.5/WebCore-7537.78.1/editing/mac/
H A DFrameSelectionMac.mm35 static CGRect accessibilityConvertScreenRect(CGRect bounds)
40 bounds.origin.y = (screenHeight - (bounds.origin.y + bounds.size.height));
42 bounds = CGRectZero;
44 return bounds;
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/
H A DWebTiledLayer.mm82 dirtyRect.origin.y = [self bounds].size.height - dirtyRect.origin.y - dirtyRect.size.height;
87 CGRect bounds = [self bounds];
88 CGRect indicatorRect = CGRectMake(bounds.origin.x, bounds.origin.y, 52, 27);
90 indicatorRect.origin.y = [self bounds].size.height - indicatorRect.origin.y - indicatorRect.size.height;
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/
H A DShadowOffsetView.py33 bounds = self.bounds()
35 width = (point.x - NSMidX(bounds)) / (NSWidth(bounds) / 2),
36 height = (point.y - NSMidY(bounds)) / (NSHeight(bounds) / 2))
56 bounds = self.bounds()
57 x = NSMinX(bounds)
58 y = NSMinY(bounds)
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/
H A DShadowOffsetView.py33 bounds = self.bounds()
35 width = (point.x - NSMidX(bounds)) / (NSWidth(bounds) / 2),
36 height = (point.y - NSMidY(bounds)) / (NSHeight(bounds) / 2))
56 bounds = self.bounds()
57 x = NSMinX(bounds)
58 y = NSMinY(bounds)
[all...]
/macosx-10.9.5/vim-53/runtime/compiler/
H A Dsplint.vim24 " Note: when using the new array bounds checking flags: Each warning
39 " sample warning (bounds checking):
41 "bounds.c: (in function updateEnv)
42 "bounds.c:10:5: Possible out-of-bounds store:
45 " requires maxSet(str @ bounds.c:10:13) >= maxRead(getenv("MYENV") @
46 " bounds.c:6:9)
48 " requires maxSet(str @ bounds.c:10:13) >= maxRead(tmp @ bounds.c:10:18)
/macosx-10.9.5/IOKitUser-907.100.13/hidsystem.subproj/
H A DIOHIDLibSPI.h48 IOHIDSetVirtualDisplayBounds( io_connect_t handle, UInt32 display_token, const IOGBounds * bounds );
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/MakefileApp2/
H A DMyView.rb12 OSX.NSRectFill(bounds)
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/
H A DTextTrackRepresentation.cpp42 virtual IntRect bounds() const { return IntRect(); } function in class:WebCore::NullTextTrackRepresentation
/macosx-10.9.5/emacs-92/emacs/lisp/
H A Dthingatpt.el29 ;; The function bounds-of-thing-at-point finds the beginning and end
66 (defun bounds-of-thing-at-point (thing)
77 (if (get thing 'bounds-of-thing-at-point)
78 (funcall (get thing 'bounds-of-thing-at-point))
133 (let ((bounds (bounds-of-thing-at-point thing)))
134 (if bounds
135 (buffer-substring (car bounds) (cdr bounds))))))
140 (let ((bounds (bound
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/macosx/
H A DtkMacOSXWindowEvent.c301 Rect bounds;
309 NULL, sizeof(bounds), NULL, &bounds);
311 x = bounds.left - wmPtr->xInParent;
312 y = bounds.top - wmPtr->yInParent;
316 width = bounds.right - bounds.left;
317 height = bounds.bottom - bounds.top;
347 Rect maxBounds, bounds, strWidth
298 Rect bounds; local
344 Rect maxBounds, bounds, strWidths; local
527 CGRect bounds, damageBounds; local
977 Rect bounds; local
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/Shared/API/c/
H A DWKRenderLayer.cpp75 IntRect bounds = toImpl(renderLayerRef)->absoluteBoundingBox(); local
76 return WKRectMake(bounds.x(), bounds.y(), bounds.width(), bounds.height());
/macosx-10.9.5/WebKit-7537.78.2/mac/Carbon/
H A DHIViewAdapter.m144 NSRect targetBounds = [(NSView *)self bounds];
148 targetBounds = [view bounds];
201 Rect bounds;
202 GetRegionBounds(inRegion, &bounds);
204 bounds.top, bounds.left, bounds.bottom, bounds.right);
208 Rect bounds, cntlBounds;
214 bounds
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/ca/win/
H A DLegacyCACFLayerTreeHost.cpp192 rootLayer()->setBounds(bounds());
224 rootLayer()->setBounds(bounds());
256 CGRect bounds = this->bounds(); local
261 if (!wkCACFContextBeginUpdate(m_context, space, sizeof(space), CACurrentMediaTime(), bounds, windowDirtyRects.data(), windowDirtyRects.size()))
279 rect.y1 = bounds.origin.y + bounds.size.height - (r->origin.y + r->size.height);
300 wkCACFContextAddUpdateRect(m_context, bounds);
348 CGRect bounds = this->bounds(); local
[all...]
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/RubyRocks/
H A DRubyRocks.rb27 @game.bounds = bounds
54 attr_accessor :bounds
62 @ship = Ship.alloc.initWithPosition_(OSX::NSPoint.new(@bounds.width/2, @bounds.height/2))
64 NUMBER_OF_ROCKS.times {@rocks << Rock.alloc.initWithPosition_(OSX::NSPoint.new(rand(@bounds.width), rand(@bounds.height)))}
76 OSX::NSRectFill(@bounds)
84 @rocks.each {|rock| rock.moveWithBounds_(@bounds)}
85 @ship.moveWithBounds_(@bounds) i
[all...]
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DWebScrollBar.cpp135 /* [in] */ RECT bounds)
137 IntRect rect(bounds.left, bounds.top, bounds.right-bounds.left, bounds.bottom-bounds.top);
170 /* [retval][out] */ RECT* bounds)
172 if (!bounds)
175 bounds
134 setRect( RECT bounds) argument
169 frameRect( RECT* bounds) argument
[all...]

Completed in 499 milliseconds

1234567891011>>