/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | Popover.js | 269 // Make sure content is centered in case either of the dimension is smaller than the minimal bounds. 372 var bounds; variable 376 bounds = new WebInspector.Rect(0, 0, width - arrowHeight, height); 379 bounds = new WebInspector.Rect(arrowHeight, 0, width - arrowHeight, height); 382 bounds = new WebInspector.Rect(0, 0, width, height - arrowHeight); 385 bounds = new WebInspector.Rect(0, arrowHeight, width, height - arrowHeight); 389 bounds = bounds.inset(WebInspector.Popover.ShadowEdgeInsets); 393 this._drawFrame(ctx, bounds, this._edge, this._anchorPoint); 406 this._drawFrame(ctx, bounds, thi [all...] |
/macosx-10.10.1/IOGraphics-485/tools/ |
H A D | timefb.c | 29 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...] |
H A D | readfb.c | 52 region->bounds.x = region->rect[0].x = 0; 53 region->bounds.y = region->rect[0].y = 0; 54 region->bounds.h = region->rect[0].h = height; 55 region->bounds.w = region->rect[0].w = width; 128 CGRect bounds; local 135 bounds = CGDisplayBounds(dspy); 138 err = IOAccelReadFramebuffer(framebuffer, bounds.size.width, bounds.size.height, rowBytes,
|
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/ |
H A D | MyRectGradientView.py | 17 self.myGradient.drawInRect_relativeCenterPosition_(self.bounds(), self.myOffsetPt) 20 self.myGradient.drawInRect_angle_(self.bounds(), self.myAngle)
|
H A D | MyBaseGradientView.py | 45 pt = NSMakePoint( (curMousePt.x - NSMidX(self.bounds())) / (self.bounds().size.width / 2.0), 46 (curMousePt.y - NSMidY(self.bounds())) / (self.bounds().size.height / 2.0))
|
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/ |
H A D | MyRectGradientView.py | 17 self.myGradient.drawInRect_relativeCenterPosition_(self.bounds(), self.myOffsetPt) 20 self.myGradient.drawInRect_angle_(self.bounds(), self.myAngle)
|
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/Grady/ |
H A D | MyRectGradientView.py | 17 self.myGradient.drawInRect_relativeCenterPosition_(self.bounds(), self.myOffsetPt) 20 self.myGradient.drawInRect_angle_(self.bounds(), self.myAngle)
|
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/ |
H A D | CGImageUtils.py | 182 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.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/ |
H A D | CGImageUtils.py | 182 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.10.1/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/Core Graphics/CGRotation/ |
H A D | CGImageUtils.py | 182 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.10.1/tcl-105/tk/tk/macosx/ |
H A D | tkMacOSXEntry.c | 94 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.10.1/WebKit2-7600.1.25/UIProcess/ |
H A D | WKInspectorHighlightView.mm | 105 static FloatQuad quadIntersection(FloatQuad bounds, FloatQuad toClamp) 119 if (bounds.containsPoint(toClamp.p1())) { 122 } else if (!(intersectForPoint1 = findIntersectionOnLineBetweenPoints(bounds.p1(), bounds.p2(), toClamp.p1(), toClamp.p4(), p1))) 125 if (bounds.containsPoint(toClamp.p2())) { 128 } else if (!(intersectForPoint2 = findIntersectionOnLineBetweenPoints(bounds.p1(), bounds.p2(), toClamp.p2(), toClamp.p3(), p2))) 131 if (bounds.containsPoint(toClamp.p3())) { 134 } else if (!(intersectForPoint3 = findIntersectionOnLineBetweenPoints(bounds.p4(), bounds [all...] |
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/ |
H A D | ShadowOffsetView.py | 33 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.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/ |
H A D | ShadowOffsetView.py | 33 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.10.1/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/TLayer/ |
H A D | ShadowOffsetView.py | 33 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.10.1/vim-55/runtime/compiler/ |
H A D | splint.vim | 24 " 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.10.1/IOKitUser-1050.1.21/hidsystem.subproj/ |
H A D | IOHIDLibSPI.h | 48 IOHIDSetVirtualDisplayBounds( io_connect_t handle, UInt32 display_token, const IOGBounds * bounds );
|
/macosx-10.10.1/emacs-93/emacs/lisp/ |
H A D | thingatpt.el | 29 ;; 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.10.1/tcl-105/tk84/tk/macosx/ |
H A D | tkMacOSXWindowEvent.c | 301 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.10.1/WebKit2-7600.1.25/Shared/API/c/ |
H A D | WKRenderLayer.cpp | 75 IntRect bounds = toImpl(renderLayerRef)->absoluteBoundingBox(); local 76 return WKRectMake(bounds.x(), bounds.y(), bounds.width(), bounds.height());
|
/macosx-10.10.1/WebKit-7600.1.25/mac/Carbon/ |
H A D | HIViewAdapter.m | 144 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.10.1/WebKit-7600.1.25/mac/WebInspector/ |
H A D | WebNodeHighlightView.mm | 154 static FloatQuad quadIntersection(FloatQuad bounds, FloatQuad toClamp) 168 if (bounds.containsPoint(toClamp.p1())) { 171 } else if (!(intersectForPoint1 = findIntersectionOnLineBetweenPoints(bounds.p1(), bounds.p2(), toClamp.p1(), toClamp.p4(), p1))) 174 if (bounds.containsPoint(toClamp.p2())) { 177 } else if (!(intersectForPoint2 = findIntersectionOnLineBetweenPoints(bounds.p1(), bounds.p2(), toClamp.p2(), toClamp.p3(), p2))) 180 if (bounds.containsPoint(toClamp.p3())) { 183 } else if (!(intersectForPoint3 = findIntersectionOnLineBetweenPoints(bounds.p4(), bounds [all...] |
/macosx-10.10.1/IOGraphics-485/IOGraphicsFamily/IOKit/graphics/ |
H A D | IOGraphicsDevice.h | 43 virtual void getBoundingRect ( IOGBounds ** bounds ) = 0;
|
/macosx-10.10.1/WTF-7600.1.24/wtf/ |
H A D | StackBounds.h | 45 StackBounds bounds; local 46 bounds.initialize(); 47 bounds.checkConsistency(); 48 return bounds;
|
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebPage/CoordinatedGraphics/ |
H A D | CoordinatedDrawingArea.cpp | 84 setNeedsDisplayInRect(m_webPage.bounds()); 99 dirtyRect.intersect(m_webPage.bounds()); 323 m_dirtyRegion = m_webPage.bounds(); 519 static bool shouldPaintBoundsRect(const IntRect& bounds, const Vector<IntRect>& rects) argument 527 // Attempt to guess whether or not we should use the region bounds rect or the individual rects. 528 // We do this by computing the percentage of "wasted space" in the bounds. If that wasted space 530 unsigned boundsArea = bounds.width() * bounds.height(); 556 IntRect bounds = m_dirtyRegion.bounds(); local [all...] |