|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.util.QTByteObject
|
+--quicktime.qd.OpenCPicParams
Provides information about a picture image relating to the source rectangle, horizontal and vertical resolution of the image. The OpenCPicParams implements methods for a corresponding QuickDraw structure. Its methods offer access to the structure and its fields.
| 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.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
| Constructor Summary | |
OpenCPicParams(QDRect srcRect)
The OpenCPicParams as a new object. |
|
OpenCPicParams(QDRect srcRect,
float hRes,
float vRes)
The OpenCPicParams as a new object. |
|
| Method Summary | |
java.lang.Object |
clone()
Return a copy of the OpenCPicParams. |
float |
getHRes()
Gets the horizontal resolution. |
QDRect |
getSrcRect()
Gets the bounding rectangle of the picture. |
float |
getVRes()
Gets the vertical resolution. |
java.lang.String |
toString()
Print information about this object. |
| Methods inherited from class quicktime.util.QTByteObject |
equals, fromArray, getBytes, getSize |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int kNativeSize
| Constructor Detail |
public OpenCPicParams(QDRect srcRect,
float hRes,
float vRes)
hRes - the horizotal resolution e.g 72 dpi.vRes - the vertical resolution e.g 72 dpipublic OpenCPicParams(QDRect srcRect)
| Method Detail |
public QDRect getSrcRect()
public float getHRes()
public float getVRes()
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class QTByteObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||