|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.util.QTHandleRef | +--quicktime.qd.PixMap
A pixel map contains information about the dimensions and contents of a pixel image, as well as information on the image's storage format, depth, resolution and color usage. Refer to PixMap in QuickDraw
Field Summary | |
static int |
kNativeSize
This is the size (the number of bytes) that are required for this class |
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Method Summary | |
static PixMap |
fromGDevice(GDevice g)
A PixMap object which describes the pixels in a GDevice. |
static PixMap |
fromGraphicsExporter(GraphicsExporter ge)
A PixMap object which describes the pixels in the QDGraphics. |
static PixMap |
fromQDGraphics(QDGraphics g)
A PixMap object which describes the pixels in the QDGraphics. |
static PixMap |
fromTrack(Track t)
A PixMap object which describes the Matte of a Track. |
QDRect |
getBounds()
The boundary rectangle, which links the local coordinate system of a graphics port to QuickDraw's global coordinate system and defines the area of the bit image into which QuickDraw can draw. |
ColorTable |
getColorTable()
When creating a PixMap for a particular graphics device, Color QuickDraw creates a ColorTable that defines the best colors available for the pixel image on that particular graphics device. |
RawEncodedImage |
getPixelData()
Returns the actual Pixel data itself. |
int |
getPixelFormat()
Returns the pixel format of this PixMap |
int |
getPixelSize()
Return the size (how many bits) of each pixel in the pixel data |
int |
getRowBytes()
Return the number of bytes each row of the pixel data makes up. |
boolean |
isOffscreen()
Returns true if the pixel data is from an offscreen GWorld or false if it is from an onscreen CGrafPort |
java.lang.String |
toString()
Print information about this object. |
Methods inherited from class quicktime.util.QTHandleRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, fromCompressionDialogState, fromSCSequence, getBytes, getSize, inMemory, isLocked, lock, lockHigh, moveHigh, toQTPointer, toQTPointer, unlock |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int kNativeSize
Method Detail |
public static PixMap fromGraphicsExporter(GraphicsExporter ge)
g
- the QDGraphics objectquicktime.std.qd.QDGraphics#getPixMap
public static PixMap fromQDGraphics(QDGraphics g)
g
- the QDGraphics objectquicktime.std.qd.QDGraphics#getPixMap
public static PixMap fromGDevice(GDevice g)
g
- the GDevice objectpublic static PixMap fromTrack(Track t) throws StdQTException
t
- the Track objectTrack.getMatte()
public boolean isOffscreen()
public int getRowBytes()
public int getPixelSize()
public int getPixelFormat()
public RawEncodedImage getPixelData()
public QDRect getBounds()
public ColorTable getColorTable()
quicktime.std.qd.ColorTable
public java.lang.String toString()
toString
in class QTHandleRef
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |