|
||
|
|
|
|
|
Examples for QuartzPathDemoUsing CGContextBeginPath and related APIs TLayerA simple demo of Transparency Layers CGRotationCGRotation is a Cocoa application that demonstrates how to use the Current Transformation Matrix (CTM) to apply rotation, scaling and transformation to an image for display. It also demonstrates simple usage of ImageIO to load and save images and how to get the pixel data from a CGImageRef into an arbitrary buffer. CGShading DemoThis is port to python of the "Cocoa CG shading demo" on ADC. This is currently not a good example of how to program in Python, but does show that the CGShading API's work from Python. Quartz2DBasicsThis sample code introduces some of the concepts and features of Quartz. It contains code that:
This is a translation of the Cocoa version of the ADC example with the same name. CIBevelSampleTranslation into python of and ADC example of the same name. CIHazeFilterSampleTranslation into python of and ADC example of the same name. CIMicroPaintA simple paint application using Core Image. CITransitionSelectorSampleImage transitions using Core Image. ImageBrowserThis sample demonstrates the ImageKit ImageBrowser in a basic Cocoa application. It uses IB to create a window an ImageBrowser and a zoom slider. PDFKitViewerA simple PDF viewer application using the PDFKit framework. BasicDrawingA python version of the BasicDrawing example in the book "Programming with Quartz". This shows how to use most of the core API's in Quartz/CoreGraphics. CocoaDrawingShellA python version of the CocoaDrawingShell example in the book "Programming with Quartz". This shows how to use most of the core API's in Quartz/CoreGraphics in a Cocoa application. ChartA simple application that displays a barchart using Quartz Composer. |
|||||||||||||||||||||||||||||||||||||||||||||||
| Copyright © 2003 - 2008 The PyObjC Project |
|
|||||||||||||||||||||||||||||||||||||||||||||||