/macosx-10.10/tcl-105/tcl_ext/quicktimetcl/quicktimetcl/ExampleCode/ |
H A D | TestSequence.tcl | 15 set width [image width $imageList] 28 .m tracks new video $width $height
|
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/base/ |
H A D | tkimgUtils.c | 213 int **width, 223 *height = *width; 224 *width = (int *) *format; 236 int **width, 246 *height = *width; 247 *width = (int *) *format; 204 tkimg_FixChanMatchProc( Tcl_Interp **interp, Tcl_Channel *chan, const char **file, Tcl_Obj **format, int **width, int **height ) argument 227 tkimg_FixObjMatchProc( Tcl_Interp **interp, Tcl_Obj **data, Tcl_Obj **format, int **width, int **height ) argument
|
/macosx-10.10/tcl-105/tk/tk/library/demos/ |
H A D | arrow.tcl | 39 -width [expr {10*$v(width)}] -arrowshape [list \ 43 set deltaY [expr {10*$v(c)+5*$v(width)}] 46 $v(x2) $v(y) -width 2 -capstyle round -joinstyle round 56 eval {$c create rect [expr {$v(x1)-5}] [expr {$v(y)-5*$v(width)-5}] \ 57 [expr {$v(x1)+5}] [expr {$v(y)-5*$v(width)+5}] \ 66 -width 2 69 -width $v(width) \ 72 -width [all...] |
H A D | spin.tcl | 42 spinbox $w.s1 -from 1 -to 10 -width 10 -validate key \ 44 spinbox $w.s2 -from 0 -to 3 -increment .5 -format %05.2f -width 10 45 spinbox $w.s3 -values $australianCities -width 10
|
/macosx-10.10/tcl-105/tk/tk/macosx/ |
H A D | tkMacOSXMenubutton.c | 197 frame.size.width -= boundsFix.shrinkW; 208 TKLog(@"menubutton %s frame %@ width %d height %d", 246 int width, height; 309 int width, height; 314 Tk_SizeOfImage(mbPtr->image, &width, &height); 316 mbPtr->image, width, height); 318 Tk_SizeOfBitmap(mbPtr->display, mbPtr->bitmap, &width, &height); 320 mbPtr->bitmap, mbPtr->normalTextGC, width, height); 352 bounds.size.width -= 16; 361 titleRect.size.width > mbPt 242 int width, height; local 305 int width, height; local [all...] |
/macosx-10.10/tcl-105/tk/tk/unix/ |
H A D | tkUnixButton.c | 61 /* width height ncolors chars_per_pixel */ 368 int width, height, fullWidth, fullHeight; 456 Tk_SizeOfImage(butPtr->image, &width, &height); 459 Tk_SizeOfBitmap(butPtr->display, butPtr->bitmap, &width, &height); 462 imageWidth = width; 486 fullWidth = (width > butPtr->textWidth ? width : 489 imageXOffset = (fullWidth - width)/2; 498 textXOffset = width + butPtr->padX; 502 fullWidth = butPtr->textWidth + butPtr->padX + width; 365 int width, height, fullWidth, fullHeight; local 857 int width, height, avgWidth, txtWidth, txtHeight; local [all...] |
H A D | tkUnixMenu.c | 58 int width, int height, int drawArrow); 62 int x, int y, int width, int heigth); 68 int width, int height); 72 int x, int y, int width, int height); 76 int x, int y, int width, int height); 80 int x, int y, int width, int height); 84 int x, int y, int width, int height); 338 int *widthPtr, /* The resulting width */ 406 int *widthPtr, /* The width of the acclerator area */ 448 int width, /* Widt 430 DrawMenuEntryBackground( TkMenu *menuPtr, TkMenuEntry *mePtr, Drawable d, Tk_3DBorder activeBorder, Tk_3DBorder bgBorder, int x, int y, int width, int height) argument 482 DrawMenuEntryAccelerator( TkMenu *menuPtr, TkMenuEntry *mePtr, Drawable d, GC gc, Tk_Font tkfont, CONST Tk_FontMetrics *fmPtr, Tk_3DBorder activeBorder, int x, int y, int width, int height, int drawArrow) argument 554 DrawMenuEntryIndicator( TkMenu *menuPtr, TkMenuEntry *mePtr, Drawable d, Tk_3DBorder border, XColor *indicatorColor, XColor *disableColor, Tk_Font tkfont, CONST Tk_FontMetrics *fmPtr, int x, int y, int width, int height) argument 628 DrawMenuSeparator( TkMenu *menuPtr, TkMenuEntry *mePtr, Drawable d, GC gc, Tk_Font tkfont, CONST Tk_FontMetrics *fmPtr, int x, int y, int width, int height) argument 671 DrawMenuEntryLabel( TkMenu *menuPtr, TkMenuEntry *mePtr, Drawable d, GC gc, Tk_Font tkfont, CONST Tk_FontMetrics *fmPtr, int x, int y, int width, int height) argument 848 DrawMenuUnderline( TkMenu *menuPtr, TkMenuEntry *mePtr, Drawable d, GC gc, Tk_Font tkfont, CONST Tk_FontMetrics *fmPtr, int x, int y, int width, int height) argument 1000 int width, height, i, j, x, y, currentRowHeight, maxWidth; local 1178 DrawTearoffEntry( TkMenu *menuPtr, TkMenuEntry *mePtr, Drawable d, GC gc, Tk_Font tkfont, CONST Tk_FontMetrics *fmPtr, int x, int y, int width, int height) argument 1321 TkpDrawMenuEntry( TkMenuEntry *mePtr, Drawable d, Tk_Font tkfont, CONST Tk_FontMetrics *menuMetricsPtr, int x, int y, int width, int height, int strictMotif, int drawArrow) argument 1589 int x, y, height, width, indicatorSpace, labelWidth, accelWidth; local [all...] |
/macosx-10.10/tcl-105/tk/tk/win/ |
H A D | tkWinImage.c | 215 unsigned int width, 221 imagePtr->width = width; 248 imagePtr->bytes_per_line = (((depth * width) 293 unsigned int width, unsigned int height, 323 hbmp = CreateCompatibleBitmap(hdc, (int) width, (int) height); 340 ret = BitBlt(hdcMem, 0, 0, (int) width, (int) height, hdc, x, y, SRCCOPY); 363 bmInfo->bmiHeader.biWidth = width; 385 width, height, 32, (int) ((width 204 XCreateImage( Display *display, Visual *visual, unsigned int depth, int format, int offset, char *data, unsigned int width, unsigned int height, int bitmap_pad, int bytes_per_line) argument 284 XGetImageZPixmap( Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument 578 XGetImage( Display* display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument [all...] |
/macosx-10.10/tcl-105/tk84/tk/library/demos/ |
H A D | arrow.tcl | 37 -width [expr {10*$v(width)}] -arrowshape [list \ 41 set deltaY [expr {10*$v(c)+5*$v(width)}] 44 $v(x2) $v(y) -width 2 -capstyle round -joinstyle round 54 eval {$c create rect [expr {$v(x1)-5}] [expr {$v(y)-5*$v(width)-5}] \ 55 [expr {$v(x1)+5}] [expr {$v(y)-5*$v(width)+5}] \ 64 -width 2 67 -width $v(width) \ 70 -width [all...] |
H A D | hscale.tcl | 30 canvas $w.frame.canvas -width 50 -height 50 -bd 0 -highlightthickness 0 39 proc setWidth {w width} { 40 incr width 21 41 set x2 [expr {$width - 30}] 45 $w coords poly 20 15 20 35 $x2 35 $x2 45 $width 25 $x2 5 $x2 15 20 15 46 $w coords line 20 15 20 35 $x2 35 $x2 45 $width 25 $x2 5 $x2 15 20 15
|
H A D | spin.tcl | 42 spinbox $w.s1 -from 1 -to 10 -width 10 -validate key \ 44 spinbox $w.s2 -from 0 -to 3 -increment .5 -format %05.2f -width 10 45 spinbox $w.s3 -values $australianCities -width 10
|
/macosx-10.10/ICU-531.30/icuSources/test/perf/perldriver/ |
H A D | Output.pm | 214 th.testNameHeader { border-width: 1 } 215 th.testName { text-align: left; border-left-width: 1; border-right-width: 1; 216 border-bottom-width: 1 } 217 th.source { border-right-width: 1; border-bottom-width: 1 } 218 th.sourceType { border-right-width: 1; border-top-width: 1; border-bottom-width: 1 } 220 td.string { text-align: Left; border-bottom-width [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/graphics/opengl/ |
H A D | GraphicsContext3DOpenGL.cpp | 66 void GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary(int x, int y, int width, int height, unsigned char* pixels) argument 68 ::glReadPixels(x, y, width, height, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pixels); 78 const int width = size.width(); local 113 ::glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER_EXT, sampleCount, m_internalColorFormat, width, height); 117 ::glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER_EXT, sampleCount, internalDepthStencilFormat, width, height); 139 ::glTexImage2D(GL_TEXTURE_2D, 0, m_internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 144 ::glTexImage2D(GL_TEXTURE_2D, 0, m_internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 151 ::glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internalDepthStencilFormat, width, height); 198 void GraphicsContext3D::renderbufferStorage(GC3Denum target, GC3Denum internalformat, GC3Dsizei width, GC3Dsize argument 289 texImage2D(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height, GC3Dint border, GC3Denum format, GC3Denum type, const void* pixels) argument 348 readPixels(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denum type, void* data) argument [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/gtk/ |
H A D | ScrollbarThemeGtk.cpp | 83 scrollbar->setFrameRect(IntRect(0, scrollbar->parent()->height() - thickness, scrollbar->width(), thickness)); 85 scrollbar->setFrameRect(IntRect(scrollbar->parent()->width() - thickness, 0, thickness, scrollbar->height())); 107 return IntRect(x, y, size.width(), size.height()); 111 return IntRect(scrollbar->x() + scrollbar->width() - m_troughBorderWidth - (2 * size.width()), y, size.width(), size.height()); 114 return IntRect(x, scrollbar->y() + scrollbar->height() - m_troughBorderWidth - (2 * size.height()), size.width(), size.height()); 128 return IntRect(scrollbar->x() + scrollbar->width() - size.width() - m_troughBorderWidth, y, size.width(), siz [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/graphics/ |
H A D | IntRect.h | 73 IntRect(int x, int y, int width, int height) argument 74 : m_location(IntPoint(x, y)), m_size(IntSize(width, height)) { } 87 int maxX() const { return x() + width(); } 89 int width() const { return m_size.width(); } function in class:WebCore::IntRect 94 void setWidth(int width) { m_size.setWidth(width); } argument 101 IntPoint center() const { return IntPoint(x() + width() / 2, y() + height() / 2); } 116 setWidth(std::max(0, width() - delta)); 121 setWidth(std::max(0, width() [all...] |
H A D | ShadowBlur.cpp | 75 if (m_imageBuffer && m_imageBuffer->logicalSize().width() >= size.width() && m_imageBuffer->logicalSize().height() >= size.height()) 79 IntSize roundedSize(roundUpToMultipleOf32(size.width()), roundUpToMultipleOf32(size.height())); 232 } else if (m_blurRadius.width() > 0 || m_blurRadius.height() > 0) { 235 } else if (!m_offset.width() && !m_offset.height()) { 299 calculateLobes(lobes, m_blurRadius.width(), m_shadowsIgnoreTransforms); 305 int dim = size.width(); 311 if (!pass && !m_blurRadius.width()) 365 final = size.width(); 371 if (m_blurRadius.width() ! [all...] |
H A D | LayoutRect.h | 47 LayoutRect(LayoutUnit x, LayoutUnit y, LayoutUnit width, LayoutUnit height) argument 48 : m_location(LayoutPoint(x, y)), m_size(LayoutSize(width, height)) { } 59 IntSize pixelSnappedSize() const { return IntSize(snapSizeToPixel(m_size.width(), m_location.x()), snapSizeToPixel(m_size.height(), m_location.y())); } 66 LayoutUnit maxX() const { return x() + width(); } 68 LayoutUnit width() const { return m_size.width(); } function in class:WebCore::LayoutRect 73 int pixelSnappedWidth() const { return snapSizeToPixel(width(), x()); } 75 int pixelSnappedMaxX() const { return (m_location.x() + m_size.width()).round(); } 80 void setWidth(LayoutUnit width) { m_size.setWidth(width); } argument 219 pixelSnappedIntRect(LayoutUnit left, LayoutUnit top, LayoutUnit width, LayoutUnit height) argument 245 pixelSnappedForPainting(LayoutUnit x, LayoutUnit y, LayoutUnit width, LayoutUnit height, float pixelSnappingFactor) argument [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/graphics/win/ |
H A D | GraphicsContextCGWin.cpp | 57 CGContextRef context = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelData.size().height(), 8, 109 CGContextRef bitmapContext = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelData.size().height(), 8, 128 RetainPtr<CGImageRef> cgImage = adoptCF(CGImageCreate(image->size().width(), image->size().height(), 8, 32, image->bytesPerRow(), deviceRGBColorSpaceRef(), 130 CGContextDrawImage(m_data->m_cgContext.get(), CGRectMake(point.x(), point.y(), image->size().width(), image->size().height()), cgImage.get()); 133 void GraphicsContext::drawFocusRing(const Path& path, int width, int offset, const Color& color) argument 140 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color& color) argument 145 float radius = (width - 1) / 2.0f; 190 void GraphicsContext::drawLineForDocumentMarker(const FloatPoint& point, float width, DocumentMarkerLineStyle style) argument 205 // NOTE: Code here used to shift the underline to the left and increase the width 210 float widthMod = fmodf(width, patternWidt [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/mac/ |
H A D | DragImageMac.mm | 58 NSSize newSize = NSMakeSize((originalSize.width * scale.width()), (originalSize.height * scale.height())); 59 newSize.width = roundf(newSize.width); 77 [image.get() drawAtPoint:NSZeroPoint fromRect:NSMakeRect(0, 0, [image size].width, [image size].height) operation:NSCompositeCopy fraction:delta]; 108 destRect = FloatRect(destRect.x(), destRect.y(), destRect.height(), destRect.width()); 118 [image->getNSImage() drawInRect:destRect fromRect:NSMakeRect(0, 0, size.width(), size.height()) operation:NSCompositeSourceOver fraction:1.0]; 200 return webCoreFont.width(run); 203 return [string sizeWithAttributes:[NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName, nil]].width; 292 labelSize.width [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/ |
H A D | BitmapContext.py | 25 def createRGBBitmapContext(width, height, wantDisplayColorSpace, needsTransparentBitmap): 26 # This routine allocates data for a pixel array that contains width*height 33 bytesPerRow = width*4; 59 context = CGBitmapContextCreate(rasterData, width, height, 8, bytesPerRow, 70 CGContextClearRect(context, CGRectMake(0, 0, width, height)) 77 CGContextFillRect(context, CGRectMake(0, 0, width, height)) 208 width = int(8.5*dpi) 218 c = createRGBBitmapContext(width, height, useDisplayColorSpace, needTransparentBitmap) 312 CGContextClipToRect(context, CGRectMake(0, 0, 8*s.width, 8*s.height)) 326 CGContextTranslateCTM(context, 2*s.width, [all...] |
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/ |
H A D | BitmapContext.py | 25 def createRGBBitmapContext(width, height, wantDisplayColorSpace, needsTransparentBitmap): 26 # This routine allocates data for a pixel array that contains width*height 33 bytesPerRow = width*4; 59 context = CGBitmapContextCreate(rasterData, width, height, 8, bytesPerRow, 70 CGContextClearRect(context, CGRectMake(0, 0, width, height)) 77 CGContextFillRect(context, CGRectMake(0, 0, width, height)) 208 width = int(8.5*dpi) 218 c = createRGBBitmapContext(width, height, useDisplayColorSpace, needTransparentBitmap) 312 CGContextClipToRect(context, CGRectMake(0, 0, 8*s.width, 8*s.height)) 326 CGContextTranslateCTM(context, 2*s.width, [all...] |
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/Programming with Quartz/BasicDrawing/ |
H A D | BitmapContext.py | 25 def createRGBBitmapContext(width, height, wantDisplayColorSpace, needsTransparentBitmap): 26 # This routine allocates data for a pixel array that contains width*height 33 bytesPerRow = width*4; 59 context = CGBitmapContextCreate(rasterData, width, height, 8, bytesPerRow, 70 CGContextClearRect(context, CGRectMake(0, 0, width, height)) 77 CGContextFillRect(context, CGRectMake(0, 0, width, height)) 208 width = int(8.5*dpi) 218 c = createRGBBitmapContext(width, height, useDisplayColorSpace, needTransparentBitmap) 312 CGContextClipToRect(context, CGRectMake(0, 0, 8*s.width, 8*s.height)) 326 CGContextTranslateCTM(context, 2*s.width, [all...] |
/macosx-10.10/ruby-106/ruby/test/ruby/ |
H A D | test_sprintf_comb.rb | 124 width = $6 127 width = width.to_i if width 238 if width && nlen < width 239 len = width - nlen 292 *FLAGS) {|type, width, precision, sp, hs, pl, mi, zr| 293 format = "%#{sp}#{hs}#{pl}#{mi}#{zr}#{width}#{precision}#{type}" 354 def emu_e(sp, hs, pl, mi, zr, width, precisio [all...] |
/macosx-10.10/tcl-105/tk/tk/generic/ttk/ |
H A D | ttkLabel.c | 42 int width; member in struct:__anon13546 60 { "-width", TK_OPTION_INT, 86 0/*flags*/, &text->width, &text->height); 92 * TextReqWidth -- compute the requested width of a text element. 94 * If -width is positive, use that as the width 95 * If -width is negative, use that as the minimum width 109 if (specWidth > text->width) 115 return text->width; 226 int width; member in struct:__anon13547 306 int width = image->width, height = image->height; local [all...] |
/macosx-10.10/ICU-531.30/icuSources/samples/layout/ |
H A D | Surface.cpp | 16 le_int32 x, le_int32 y, le_int32 width, le_int32 height) 23 clip.right = width; 15 drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height) argument
|