/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/ |
H A D | CGImageUtils.py | 108 def IISaveImage(image, url, width, height): 111 # If there is no image, no destination, or the width/height is 0, then fail early. 112 assert (image is not None) and (url is not None) and (width != 0.0) and (height != 0.0) 121 imageData = objc.allocateBuffer(int(4 * width * height)) 126 width, # width 129 4 * width, # bytes per pixel times number of pixels wide 136 IIDrawImageTransformed(image, bitmapContext, CGRectMake(0.0, 0.0, width, height)) 205 imageRect.size.width = CGImageGetWidth(image.fImageRef); 214 # For orientations 1-4, the images are unrotated, so the width an [all...] |
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/Core Graphics/CGRotation/ |
H A D | CGImageUtils.py | 108 def IISaveImage(image, url, width, height): 111 # If there is no image, no destination, or the width/height is 0, then fail early. 112 assert (image is not None) and (url is not None) and (width != 0.0) and (height != 0.0) 121 imageData = objc.allocateBuffer(int(4 * width * height)) 126 width, # width 129 4 * width, # bytes per pixel times number of pixels wide 136 IIDrawImageTransformed(image, bitmapContext, CGRectMake(0.0, 0.0, width, height)) 205 imageRect.size.width = CGImageGetWidth(image.fImageRef); 214 # For orientations 1-4, the images are unrotated, so the width an [all...] |
/macosx-10.10.1/tcl-105/tk/tk/win/ |
H A D | tkWinButton.c | 63 * Cached information about the boxes bitmap, and the default border width for 192 int width = GetSystemMetrics(SM_CXEDGE); 193 if (width > 0) { 194 sprintf(tkDefButtonBorderWidth, "%d", width); 336 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; 414 * Compute width of default ring and offset for pushed buttons. 447 Tk_SizeOfImage(butPtr->image, &width, &height); 450 Tk_SizeOfBitmap(butPtr->display, butPtr->bitmap, &width, &height); 453 imageWidth = width; 474 fullWidth = (width > butPt 190 int width = GetSystemMetrics(SM_CXEDGE); local 330 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; local 818 int width = 0, height = 0; /* Width and height of button */ local [all...] |
/macosx-10.10.1/dcerpc-61/www/content/css/blueprint/ |
H A D | screen.css | 56 table {margin-bottom:1.4em;width:100%;} 77 .container {width:950px;margin:0 auto;} 81 .span-1 {width:30px;} 82 .span-2 {width:70px;} 83 .span-3 {width:110px;} 84 .span-4 {width:150px;} 85 .span-5 {width:190px;} 86 .span-6 {width:230px;} 87 .span-7 {width:270px;} 88 .span-8 {width [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/bmp/ |
H A D | bmp.c | 45 Tk_PhotoHandle imageHandle, int destX, int destY, int width, 94 destX, destY, width, height, srcX, srcY) 101 int width, height; 110 width, height, srcX, srcY); 115 destX, destY, width, height, srcX, srcY) 121 int width, height; 128 width, height, srcX, srcY); 311 width, height, srcX, srcY) 316 int width, height; 348 /* printf("reading %d-bit BMP %dx%d\n", numBits, width, heigh [all...] |
/macosx-10.10.1/tcl-105/tk/tk/unix/ |
H A D | tkUnixScale.c | 113 int x, y, width, height, shadowWidth; 124 drawnAreaPtr->width = scalePtr->vertTroughX + scalePtr->width 129 drawnAreaPtr->x, drawnAreaPtr->y, drawnAreaPtr->width, 189 scalePtr->width + 2*scalePtr->borderWidth, 195 (unsigned) scalePtr->width, 203 width = scalePtr->width; 211 Tk_Draw3DRectangle(tkwin, drawable, sliderBorder, x, y, width, 215 width 110 int x, y, width, height, shadowWidth; local 266 int y, width, length; local 322 int x, y, width, height, shadowWidth; local 482 int x, y, length, width; local [all...] |
/macosx-10.10.1/tcl-105/tk84/tk/unix/ |
H A D | tkUnixScale.c | 115 int x, y, width, height, shadowWidth; 126 drawnAreaPtr->width = scalePtr->vertTroughX + scalePtr->width 131 drawnAreaPtr->x, drawnAreaPtr->y, drawnAreaPtr->width, 190 scalePtr->width + 2*scalePtr->borderWidth, 196 (unsigned) scalePtr->width, 204 width = scalePtr->width; 212 Tk_Draw3DRectangle(tkwin, drawable, sliderBorder, x, y, width, 216 width 112 int x, y, width, height, shadowWidth; local 267 int y, width, length; local 324 int x, y, width, height, shadowWidth; local 483 int x, y, length, width; local [all...] |
H A D | tkUnixMenu.c | 43 int width, int height, int drawArrow)); 48 int width, int heigth)); 54 int width, int height)); 59 int width, int height)); 63 int x, int y, int width, int height)); 67 int x, int y, int width, int height)); 71 int y, int width, int height)); 329 int *widthPtr; /* The resulting width */ 399 int *widthPtr; /* The width of the acclerator area */ 435 width, heigh 1030 int width, height; local 1588 int x, y, height, width, indicatorSpace, labelWidth, accelWidth; local [all...] |
/macosx-10.10.1/tcl-105/tk/tk/generic/ttk/ |
H A D | ttkLayout.c | 23 Ttk_MakeBox(int x, int y, int width, int height) argument 26 b.x = x; b.y = y; b.width = width; b.height = height; 33 return box.x <= x && x < box.x + box.width 44 result[2] = Tcl_NewIntObj(box.width); 52 * Carve out a parcel of the specified height (resp width) 66 parcel = Ttk_MakeBox(cavity->x, cavity->y, cavity->width, height); 78 cavity->width, height); 81 static Ttk_Box packLeft(Ttk_Box *cavity, int width) argument 84 width 91 packRight(Ttk_Box *cavity, int width) argument 111 Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side) argument 155 Ttk_StickBox(Ttk_Box parcel, int width, int height, unsigned sticky) argument 236 Ttk_AnchorBox(Ttk_Box parcel, int width, int height, Tk_Anchor anchor) argument 245 Ttk_PlaceBox( Ttk_Box *cavity, int width, int height, Ttk_Side side, unsigned sticky) argument 257 Ttk_PositionBox(Ttk_Box *cavity, int width, int height, Ttk_PositionSpec flags) argument 995 int width, height, restWidth, restHeight; local 1070 int width, height; local [all...] |
/macosx-10.10.1/libpcap-48/libpcap/missing/ |
H A D | snprintf.c | 135 int width, int prec, int flags, int minusp) 166 width -= len; 168 width--; 169 while(width-- > 0){ 204 width -= len; 205 while(width-- > 0){ 224 int width, 229 width -= prec; 231 width -= strlen((char *)arg); 233 while(width 133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument 222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument 253 append_char(struct state *state, unsigned char arg, int width, int flags) argument 296 int width = 0; local [all...] |
/macosx-10.10.1/tcpdump-61/tcpdump/missing/ |
H A D | snprintf.c | 135 int width, int prec, int flags, int minusp) 166 width -= len; 168 width--; 169 while(width-- > 0){ 204 width -= len; 205 while(width-- > 0){ 224 int width, 229 width -= prec; 231 width -= strlen((char *)arg); 233 while(width 133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument 222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument 253 append_char(struct state *state, unsigned char arg, int width, int flags) argument 296 int width = 0; local [all...] |
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/ |
H A D | print.c | 77 unsigned long width; local 115 width = precision = 0; 148 width = va_arg(ap, int); 152 width = strtoul(format, &e, 10); 307 if (precision != 0U || width != 0U) { 311 else if (length < width && zero) 312 zeropad = width - length; 313 if (width != 0U) { 314 pad = width - length - 373 if (width ! [all...] |
/macosx-10.10.1/ruby-106/ruby/lib/ |
H A D | benchmark.rb | 222 # calculate the required label width. 247 def bmbm(width = 0) # :yield: job 248 job = Job.new(width) 250 width = job.width + 1 255 puts 'Rehearsal '.ljust(width+CAPTION.length,'-') 257 print label.ljust(width) 262 print " #{ets}\n\n".rjust(width+CAPTION.length+2,'-') 265 print ' '*width + CAPTION 268 print label.ljust(width) [all...] |
/macosx-10.10.1/tcl-105/tk84/tk/win/ |
H A D | tkWinButton.c | 63 * Cached information about the boxes bitmap, and the default border width for 189 int width = GetSystemMetrics(SM_CXEDGE); 190 if (width > 0) { 191 sprintf(tkDefButtonBorderWidth, "%d", width); 342 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; 420 * Compute width of default ring and offset for pushed buttons. 453 Tk_SizeOfImage(butPtr->image, &width, &height); 456 Tk_SizeOfBitmap(butPtr->display, butPtr->bitmap, &width, &height); 459 imageWidth = width; 477 fullWidth = (width > butPt 187 int width = GetSystemMetrics(SM_CXEDGE); local 336 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; local 777 int width = 0, height = 0; /* Width and height of button */ local [all...] |
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Base/ |
H A D | ImageUtilities.js | 121 function saveImageToStorage(storageKey, context, width, height, imageVersion) 125 console.assert(typeof width === "number"); 132 var imageData = context.getImageData(0, 0, width, height); 144 function restoreImageFromStorage(storageKey, context, width, height, imageVersion, generateCallback) 148 console.assert(typeof width === "number"); 197 var imageData = context.createImageData(width, height); 215 function generateColoredImage(inputImage, red, green, blue, alpha, width, height) 222 if (width === undefined) 223 width = inputImage.width; [all...] |
/macosx-10.10.1/IOGraphics-485/tools/ |
H A D | timefb.c | 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.size.width*4, bounds.size.height, 1, (void*)(uintptr_t) mapAddr, rb, 0); 94 (int)bounds.size.width, (int)bounds.size.height, 95 i*bounds.size.width*bounds.size.height*4/(1e6*(currentTime() - t))); 101 for (x = 0; x < bounds.size.width; x++) 109 (int)bounds.size.width, (int)bounds.size.height, 110 i*bounds.size.width*bounds.size.height*4/(1e6*(currentTime() - t)));
|
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | Popover.js | 84 this._element.style.width = frame.size.width + "px"; 86 this._element.style.backgroundSize = frame.size.width + "px " + frame.size.height + "px"; 186 this._element.style.removeProperty("width"); 196 this._preferredSize = new WebInspector.Size(Math.ceil(popoverBounds.width), Math.ceil(popoverBounds.height)); 221 return size.width * size.height; 246 anchorPoint = new WebInspector.Point(bestFrame.size.width - WebInspector.Popover.ShadowPadding, targetFrame.midY() - bestFrame.minY()); 270 if (this._preferredSize.width < WebInspector.Popover.MinWidth || this._preferredSize.height < WebInspector.Popover.MinHeight) 334 animatedValue(fromFrame.size.width, toFrame.size.width, progres 425 var width = preferredSize.width + (WebInspector.Popover.ShadowPadding * 2) + (WebInspector.Popover.ContentPadding * 2); variable [all...] |
/macosx-10.10.1/tcl-105/tk/tk/macosx/ |
H A D | tkMacOSXEntry.c | 19 static ThemeButtonKind ComputeIncDecParameters(int height, int *width); 30 * It also sets width to the width of the IncDec button. 44 int *width) 49 *width = 0; 53 *width = 13; 56 *width = 12; 59 *width = 11; 147 * Inset the entry Frame by the maximum width of the focus rect, which is 153 bounds.size.width 41 ComputeIncDecParameters( int height, int *width) argument [all...] |
/macosx-10.10.1/tcl-105/tk84/tk/macosx/ |
H A D | tkMacOSXEntry.c | 63 static ThemeButtonKind ComputeIncDecParameters (int height, int *width); 71 * buttons to use. It also sets width to the width of the 83 ComputeIncDecParameters(int height, int *width) argument 89 *width = 0; 93 *width = 13; 96 *width = 12; 99 *width = 11; 105 *width = 0; 108 *width [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/bwidget/bwidget/ |
H A D | scrollframe.tcl | 23 {-width Int 0 0 {}} 37 -width {} -height {} 70 -width [Widget::cget $path -areawidth] \ 108 set w [winfo width $path] 123 $path:cmd itemconfigure win -width $w -height $h 150 set x1 [expr {$x0+[winfo width $widget]}] 154 set xb1 [$path:cmd canvasx [winfo width $path]] 192 set x [expr {($xb0+$dx+$xOffset)/[winfo width $path.frame]}] 223 $path:cmd itemconfigure win -width [winfo width [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/tests/visualtests/utils/ |
H A D | testReadWrite.tcl | 56 proc readPhotoFile2 { name fmt width height args } { 60 if { $width < 0 && $height < 0 } { 63 set ph [image create photo -width $width -height $height] 115 proc readPhotoBinary2 { name fmt width height args } { 128 if { $width < 0 && $height < 0 } { 131 set ph [image create photo -width $width -height $height] 151 proc readPhotoString { str fmt width height args } { 155 if { $width < [all...] |
/macosx-10.10.1/WebKit-7600.1.25/mac/WebView/ |
H A D | WebRenderNode.mm | 106 int width = 0; 112 width = box->width(); 121 width = box.width(); 128 width = boundingBox.width(); 133 position:absPos rect:NSMakeRect(x, y, width, height) 176 return [NSString stringWithFormat:@"%.0f", rect.size.width];
|
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/ |
H A D | ucs4.c | 203 int width; local 215 width = 1; 223 width = 2; 227 width = 3; 231 width = 4; 235 width = 5; 239 width = 6; 246 for (i = width - 1; i > 0; i--) { 298 int width; local 316 width [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/demos-en/ |
H A D | arrow.rb | 32 { 'width'=>10 * v.width, 37 deltaY = 10*v.c + 5*v.width 40 'width'=>2, 'capstyle'=>'round', 'joinstyle'=>'round') 47 TkcRectangle.new(c, v.x1-5, v.y-5*v.width-5, v.x1+5, v.y-5*v.width+5, 52 TkcLine.new(c, v.x2+50, 0, v.x2+50, 1000, 'width'=>2) 54 TkcLine.new(c, tmp, v.y-125, tmp, v.y-75, 'width'=>v.width, 56 TkcLine.new(c, tmp-25, v.y, tmp+25, v.y, 'width' [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/demos-jp/ |
H A D | arrow.rb | 29 { 'width'=>10 * v.width, 34 deltaY = 10*v.c + 5*v.width 37 'width'=>2, 'capstyle'=>'round', 'joinstyle'=>'round') 44 TkcRectangle.new(c, v.x1-5, v.y-5*v.width-5, v.x1+5, v.y-5*v.width+5, 49 TkcLine.new(c, v.x2+50, 0, v.x2+50, 1000, 'width'=>2) 51 TkcLine.new(c, tmp, v.y-125, tmp, v.y-75, 'width'=>v.width, 53 TkcLine.new(c, tmp-25, v.y, tmp+25, v.y, 'width' [all...] |