|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.util.QTHandleRef
|
+--quicktime.qd.ColorTable
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. refer to ColorTable in QuickDraw
quicktime.std.qd.PixMap| 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 ColorTable |
fromCompressionDialog(ImageCompressionDialog d)
Gets the current color table or null to clear the current color table for a dialog. |
static ColorTable |
fromImageDescription(ImageDescription id)
Get the custom color table for an image. |
static ColorTable |
fromMovie(Movie m)
This method allows your application to get the color table of the movie. |
static ColorTable |
fromPixMap(PixMap pm)
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. |
int |
getCtSeed()
Identifies a particular instance of a color table. |
int |
getCtSize()
Returns the number of colours in the colour table. |
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 ColorTable fromImageDescription(ImageDescription id)
throws QTException
id - the ImageDescription
QTExceptionImageDescription.getCTable()
public static ColorTable fromMovie(Movie m)
throws QTException
m - the movie to get the color table from
QTExceptionquicktime.std.movies.Movie#getCTablepublic static ColorTable fromPixMap(PixMap pm)
quicktime.std.qd.PixMap
public static ColorTable fromCompressionDialog(ImageCompressionDialog d)
throws QTException
QTExceptionImageCompressionDialog.getInfoColorTable()public int getCtSeed()
public int getCtSize()
public java.lang.String toString()
toString in class QTHandleRef
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||