ITextBitmapStyle
- A style that controls whether the text it is applied to is displayed with bitmap or outline fonts (true means use bitmap fonts).
This class
provides a style that controls whether the text it is applied to is displayed with bitmap or outline fonts.
TRUE means use bitmap fonts.
Do not derive your own classes from this class.
ITextBitmapStyle - Member Functions and Data by Group
Constructors & Destructor
Use the constructors and destructor in this group to create and destroy objects of class ITextBitmapStyle.
- ~ITextBitmapStyle
public:
virtual ~ITextBitmapStyle()
- Destroys the ITextBitmapStyle object.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- ITextBitmapStyle
- Constructs an object of class ITextBitmapStyle.
Overload 1
- Default constructor.
public:
ITextBitmapStyle()
- Use this to create an uninitialized ITextBitmapStyle object. You can use the setBitmap member function to set the value.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Overload 2
- Copy constructor.
public:
ITextBitmapStyle(const ITextBitmapStyle& other)
- Use this constructor to create an ITextBitmapStyle object that is copied from the given one.
- other
- The ITextBitmapStyle object to be copied.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Overload 3
- Constructs an ITextBitmapStyle object using the given value.
public:
ITextBitmapStyle(bool isSet)
- Use this constructor to create an ITextBitmapStyle object that is initialized to use bitmap fonts.
- isSet
- The initialization value, equivalent to TRUE.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Assignment Operator
Use the function in this group to assign the given ITextBitmapStyle object to the target one.
- operator =
public:
ITextBitmapStyle& operator =(const ITextBitmapStyle& other)
- Replaces the current ITextBitmapStyle object with the given one.
- other
- The ITextBitmapStyle object that replaces the given one.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Comparing Two Bitmap Style Objects for Equality and Inequality
Use the functions in this group to test two bitmap style objects for equality or inequality.
- operator !=
public:
bool operator !=(const ITextBitmapStyle& other) const
- Tests the given ITextBitmapStyle object against the current one to determine if they are different.
- other
- The ITextBitmapStyle object to be compared with this, the current, one.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- operator ==
public:
bool operator ==(const ITextBitmapStyle& other) const
- Tests the given ITextBitmapStyle object against the current one to determine if they are the same.
- other
- The ITextBitmapStyle object to be compared with this, the current, one.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Getting and Setting the Bitmap Font Value
Use the functions in this group to get an set the value -- whether outline or bitmap -- specifying the font to be used to
render the text.
- isBitmap
public:
bool isBitmap() const
- Determines whether this is a bitmap font or an outline one. A returned value of True indicates that it is a bitmap.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- setBitmap
public:
void setBitmap(bool value)
- Sets the flag that determines whether the text the style applies to should be drawn using a
bitmap font or an outline font (true means bitmap).
- value
- The flag value. True means use the bitmap font, false means
use the outline font.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Protected members
- addToSet
protected:
virtual void addToSet(ITextStyleSet& set) const
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- getValueFromSet
protected:
virtual void getValueFromSet(const ITextStyleSet& set)
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- isContainedInSet
protected:
virtual bool
isContainedInSet( const ITextStyleSet& set ) const
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- isValueContainedInSet
protected:
virtual bool
isValueContainedInSet( const ITextStyleSet& set ) const
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- removeFromSet
protected:
virtual void removeFromSet(ITextStyleSet& set) const
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
ITextBitmapStyle - Inherited Member Functions and Data
Inherited Public Functions
- ICharacterStyle
-
- ITextStyle
-
Inherited Public Data
Inherited Protected Functions
- ITextStyle
-
virtual void addToSet(ITextStyleSet& set) const = 0
virtual void getValueFromSet(const ITextStyleSet& set) = 0
virtual bool
isContainedInSet( const ITextStyleSet& set ) const = 0
virtual bool
isValueContainedInSet( const ITextStyleSet& set ) const = 0
ITextStyle()
ITextStyle(const ITextStyle&)
ITextStyle& operator =(const ITextStyle&)
virtual void removeFromSet(ITextStyleSet& set) const = 0
- ICharacterStyle
-
Inherited Protected Data