LPaintAttachment is a PowerPlant class that is used for painting rectangles within the Frame of a Pane.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
This objects allows you to paint a rectangle within the Frame
of a Pane, for use only with the msg_DrawOrPrint message.
The rectangle is painted using the specified PenState settings and foreground and background RGBColor values. The painted rectangle is inset from the Frame by the
size of the pnSize field of the PenState. This lets you use an LPaintAttachment in conjunction with a
LBorderAttachment to draw a filled rectangle.
Source files:
See also:
Purpose:
The constructors provide two ways to create LPaintAttachment objects. You may create a stream-based object or pass the itemized values for each required value.
Access:
Prototype:
LPaintAttachment( PenState *inPenState,
RGBColor *inForeColor,
RGBColor *inBackColor,
Boolean inExecuteHost);
LPaintAttachment( LStream *inStream );Parameters:
The parameters for these constructors are:
|
||
Purpose:
This method paints a rectangle. This is an override of ExecuteSelf() in LAttachment.
Purpose:
This member holds the pen information.
Access:
Prototype:
PenState mPenState;
Purpose:
This member holds the foreground color information.
Access:
Prototype:
RGBColor mForeColor;
Purpose:
This member holds the background color information.
Access:
Prototype:
RGBColor mBackColor;