Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Resource class. More...
#include <ilviews/base/resource.h>
Public Member Functions | |
IlUShort | getCount () const |
Returns the length of the dash array. | |
unsigned char * | getDashes () const |
Returns the dash array. | |
IlUShort | getOffset () const |
Returns the dash offset. | |
Friends | |
class | IlvDisplay |
Resource class.
Library: display
The class IlvLineStyle
represents the line style resources. A line style is an array of unsigned characters returned by the member function getDashes
. The length of the array is returned by the getCount
member function. Other line styles are predefined and may be accessed through the naming mechanism:
- IlvLineStyle -
Although this class does not have any public constructor, you may define your own line styles by means of calls to the member function IlvDisplay::getLineStyle
. You can name these new line styles to access them by name.
IlUShort IlvLineStyle::getCount | ( | ) | const |
Returns the length of the dash array.
unsigned char* IlvLineStyle::getDashes | ( | ) | const |
Returns the dash array.
When a line is drawn using this line style, the number of foreground-colored pixels is indicated by the elements of the returned array. This array must not be modified or deleted.
IlUShort IlvLineStyle::getOffset | ( | ) | const |
Returns the dash offset.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.