LPicture is a PowerPlant class that is used for displaying PICT resources.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
This is a simple extension of the LView class.
Source files:
Ancestors:
Purpose:
The constructors create objects from the passed-in parameters.
Access:
Prototype:
LPicture();
LPicture( const LPicture &inOriginal );
LPicture( const SPaneInfo &inPaneInfo,
const SViewInfo &inViewInfo,
ResIDTinPICTid );
LPicture( LStream *inStream );
LPicture( ResIDT inPictureID );Parameters:
The parameters for these constructors are:
Purpose:
Draw the picture. This is an override of DrawSelf() in LPane.
Purpose:
Access:
Prototype:
ResIDT GetPictureID() const;Parameters:
Return:
A resource ID for the picture.
Purpose:
Private Initializer. Assumes mPICTid is set.
Access:
Prototype:
void InitPicture();Parameters:
Return:
Purpose:
Set the PICT Resource ID associated with a picture. This method
changes the size of the image to match the bounds of the PICT.
Access:
Prototype:
void SetPictureID( ResIDT inPictureID );Parameters:
This method has the following parameter:
Return:
Purpose:
Access:
Prototype:
ResIDT mPICTid;