• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/

Lines Matching refs:width

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, 0);
329 # Translate to the left one layer width on
331 # layer width on odd loop counts. Each
336 s.width, s.height)
339 -s.width, s.height)
341 def createAlphaOnlyContext(width, height):
343 # width*height pixels, each pixel is 1 byte. The format is
347 bytesPerRow = width;
362 context = CGBitmapContextCreate(rasterData, width, height, 8, bytesPerRow,
371 CGContextClearRect(context, CGRectMake(0, 0, width, height))
420 # The value passed here as the width and height is
422 width = 520
424 alphaContext = createAlphaOnlyContext(width, height);
453 CGContextDrawImage(context, CGRectMake(0, 0, width, height), mask);
475 _width = pdfMediaRect.size.width;
511 # Space the tiles by the tile width and height
540 # Space the tiles by the tile width and height
580 pdfDoc, layerSize.width, layerSize.height = getThePDFDoc(url)
586 layerSize.width /= 3
603 CGRectMake(0, 0, layerSize.width, layerSize.height), pdfDoc, 1);
620 tileX = s.width
624 # Space the tiles by the tile width and height