|
|||||||||
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.GDevice
Refer to GDevice in QuickDraw
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Method Summary | |
static GDevice |
fromSequenceGrabber(SequenceGrabber sg)
Returns the current device of the sequence grabber. |
static GDevice |
get()
Returns the current graphic device. |
QDRect |
getBounds()
Returns the global Bounds associated with this gDevice |
int |
getFlags()
Returns the current scale of the screen graphics device |
static GDevice |
getList()
Returns the first graphic device in the device list. |
static GDevice |
getMain()
Returns the graphic device for the main screen. |
static GDevice |
getMax(QDRect globalRect)
Returns the graphic device with the greatest pixel depth. |
GDevice |
getNext()
Returns the graphic device that is the next device from this in the device list. |
PixMap |
getPixMap()
Returns the PixMap associated with this gDevice |
float |
getScale()
Returns the current scale of the screen graphics device |
float |
hasScale(int depth,
float scale)
Returns the closest possible scaling that a particular screen device can be set to in a given pixel depth |
void |
init(int qdRefNum,
int mode)
Initialises the instance of the Graphics Device. |
void |
set()
Sets this GDevice as the current device. |
void |
setAttribute(int attribute,
boolean value)
Set the attributes of a graphics device. |
void |
setScale(int scale,
int flags)
Sets the current scale of the screen graphics device |
boolean |
testAttribute(int attribute)
Determines whether the flag bit for an attribute has been set in the flags field of the device. |
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, toString, unlock |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static GDevice fromSequenceGrabber(SequenceGrabber sg) throws StdQTException
sg
- the SequenceGrabber objectSequenceGrabber.getGWorldDevice()
public static GDevice get()
public static GDevice getList()
public static GDevice getMain()
public static GDevice getMax(QDRect globalRect)
globalRect
- a rectangle in global coordinates that
intersects the devices you are searchingpublic void init(int qdRefNum, int mode)
the
- reference number of this GDevicemode
- the device configuration modepublic void setAttribute(int attribute, boolean value)
attribute
- use the constantsvalue
- if true attribute is turned onpublic void set()
public GDevice getNext()
public boolean testAttribute(int attribute)
attribute
- the attribute to test forpublic PixMap getPixMap()
public QDRect getBounds()
public float hasScale(int depth, float scale) throws StdQTException
depth
- specifies the pixel depth of the screen devicescale
- the desired scale valuepublic float getScale() throws StdQTException
public int getFlags() throws StdQTException
public void setScale(int scale, int flags) throws StdQTException
scale
- the desired scale valuethe
- flags to be used
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |