Graphics Reference
In-Depth Information
.
CATextLayer
This layer provides a convenient way to display a string in your layer tree. You
specify all the layout information as with any other layer, but you can also specify
the text, font, font size, and foreground color that the layer uses for the text
provided. If you specify an NSAttributedString , these other fields with be ignored.
This layer is only available on OS X.
.
CAScrollLayer
This layer enables you to scroll content that is larger than the viewport of the
containing view.
.
CATiledLayer
This layer enables zooming and panning of content that is larger than the viewport
of the containing view.
.
CAOpenGLLayer
This layer provides a convenient way to do OpenGL rendering in your application.
We cover this layer is greater depth in Chapter 8, “OpenGL Layer.” This layer is only
available on OS X.
.
CAEAGLLayer
This layer provides a way to perform OpenGL rendering on the iPhone. This layer is
only available on the iPhone.
.
QTMovieLayer
This layer enables you to simply play back QuickTime movies in your Core
Animation-based application. Because it is a Core Animation layer, you can add
additional layers to its sublayers property and composite other visuals on top of a
playing movie. We cover this layer in greater depth in Chapter 7, “QuickTime
Layers.” This layer is only available on OS X.
.
QTCaptureLayer
This layer takes advantage of a camera connected to your computer for the purpose
of video capture and real-time playback. You can use your iSight camera or a muxed
device such as a DV camera to capture video. The actual capturing is done via other
QuickTime classes available, but the QTCaptureLayer enables you to see current
frames from your connected camera in real time. We cover this layer in greater
depth in Chapter 7. This layer is only available on OS X.
.
QCCompositionLayer
This layer enables you to play back a Quartz composition as part of your Core
Animation-based application. It also enables you to control the Quartz composition
using key-value coding. We cover this layer in greater depth in Chapter, 9 “Quartz
Composer Layer.” This layer is only available on OS X.
Search WWH ::




Custom Search