IFillBundle

IFillBundle contains imaging information for 2-D graphic objects of the solid-filled, no frame variety.


IFillBundle - Member Functions and Data by Group

Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class IFillBundle.


[view class]
~IFillBundle
public:
virtual ~IFillBundle()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IFillBundle


Overload 1
Default constructor. Creates an IFillBundle with black paint and color transfer mode as source-copy.
public:
IFillBundle()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Constructs an IFillBundle with specified color and color transfer mode.
public:
IFillBundle( const IBaseColor& fillColor, const IColorTransferMode& transferMode )

fillColor
The IBaseColor to be copied.
transferMode
The IColorTransferMode to be copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Constructs an IFillBundle with a specified IBaseColor.
public:
IFillBundle(const IBaseColor& fillColor)

fillColor
The IBaseColor to be copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 4
Copy constructor.
public:
IFillBundle(const IFillBundle&)

const IFillBundle&
The IFillBundle object to be copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Assignment Operator

Use the operator in this group to assign the given IFillBundle object to the target one.


[view class]
operator =
public:
IFillBundle& operator =(const IFillBundle&)
Assignment operator.

const IFillBundle&
The source object.

Return
A non-const reference to the left-hand side object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Comparing Two Objects for Equality

Use this operator to compare the given IAttributeState object with the current IFillBundle object for equality


[view class]
operator ==
public:
virtual bool operator ==(const IAttributeState&) const
Tests two IAttributeState objects for equality.

IAttributeState
A constant reference to the IAttributeState to be compared with this one.

Return
True if this IFillBundle and the argument have equal attributes.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Getting the Object's Attributes and Properties

Use the functions in this group to obtain the object's drawing operation, fill paint, and fill transfer mode.


[view class]
drawingOperation
public:
virtual IAttributeState::EDrawOperation drawingOperation() const
Returns the EDrawOperation that determines whether to paint the fill, the frame, or both.

Return
The EDrawingOperation value of the bundle.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
fillPaint
public:
virtual const IPaint* fillPaint() const
Returns the paint object being used for this object.

Return
Pointer to the paint object being used.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
fillTransferMode
public:
virtual const IColorTransferMode* fillTransferMode() const
Returns a pointer to the transfer mode being used by this object.

Return
A pointer to the transfer mode for this object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Setting the Object's Attributes and Properties

Use the functions in this group to set the fill bundle's values, such as the fill color and transfer mode.


[view class]
setFillColor
public:
void setFillColor(const IBaseColor& color)
Sets the fill color for the object.

const IBaseColor&
The color for the fill region.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setFillTransferMode
public:
void setFillTransferMode( const IColorTransferMode& transferMode )
Sets the transfer mode that determines the fill color after deleting the existing one.

transferMode
The new transfer mode to be used.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Streaming an Object In and Out

Use the functions in this group to read the object in from the given stream and write it out to it.


[view class]
readFromStream
protected:
virtual void readFromStream(IDataStream& toWhere)
Reads the object in from the specified stream.

fromStream
The stream used to read in the object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
writeToStream
protected:
virtual void writeToStream(IDataStream& toWhere) const
Writes the object to the specified stream.

toWhere
The stream used to write the object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IFillBundle - Inherited Member Functions and Data

Inherited Public Functions

IAttributeState
IMStreamable
IFillBundle

Inherited Public Data

Inherited Protected Functions

IMStreamable
IAttributeState

Inherited Protected Data