Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Classes | |
class | IlvColor |
Resource class. More... | |
class | IlvCursor |
Cursor class. More... | |
class | IlvFont |
Resource class. More... | |
class | IlvLineStyle |
Resource class. More... | |
class | IlvPalette |
Resource class. More... | |
class | IlvPushClip |
This class is used to temporarily modify the clip of an IlvPalette . More... | |
class | IlvResource |
Resource class. More... | |
Macros | |
#define | IlvFullIntensity |
The maximum value for an intensity. More... | |
Typedefs | |
typedef IlUShort | IlvFontSize |
The size of a font. More... | |
typedef IlUShort | IlvIntensity |
The intensity of a color RGB component. More... | |
Library: xviews or winviews or mviews (mutually exclusive)
Declaration of the graphic resource classes.
#define IlvFullIntensity |
The maximum value for an intensity.
The IlvIntensity
type stores any unsigned integer value on 16 bits. IlvFullIntensity
is the greatest value that can be represented with an IlvIntensity
.
IlvColor
. The size of a font.
The size of a font, in pixels, is defined as an unsigned, 16-bit integer quantity.
The intensity of a color RGB component.
The IlvIntensity
type stores any unsigned integer value on 16 bits and is used to specify an RGB value.
IlvColor
. enum IlvAntialiasingMode |
The different anti-aliasing modes.
This enumeration indicates what sort of anti-aliasing mode you want for your drawing.
IlvPalette::setAntialiasingMode()
. Enumerator | |
---|---|
IlvDefaultAntialiasingMode | The anti-aliasing mode is the default one. |
IlvNoAntialiasingMode | No anti-aliasing is used. |
IlvUseAntialiasingMode | Anti-aliasing is forced. |
enum IlvArcMode |
The different ways to fill an arc.
When you use a drawing command that fills an arc (typically IlvPort::fillArc()
), this enumeration indicates how you want the arc to be closed.
Enumerator | |
---|---|
IlvArcPie | The arc is filled like a pie slice. |
IlvArcChord | The arc is filled by adding a chord between the two arc ends, and filling the entire resulting area. |
enum IlvDrawMode |
The different logical modes for drawing.
This enumeration indicates the different modes that can be used when drawing in an IlvPort
. When affecting a destination port to draw something, you can apply a logical function that is applied on your source and destination color values to perform some rendering effects. Most of the time, however, the actual resulting color cannot be predicted.
Usually, you will be using the IlvModeSet
mode, which simply copies the source color value (the color you are using) to the destination port, regardless of the color value of the replaced pixel. The IlvModeXor
mode performs an XOR
operation on the source and target pixel values, so that if you draw the same thing twice at the same time, the result would be just as if you had not performed any drawing at all. This is the mode that Rogue Wave Views sometimes uses to give visual feedback during interactive operations.
Here, the different possible values are described, indicating what will be the final destination color value (dst
) depending on the source color value (src
) and the original color value of the destination pixel (orig
).
IlvPalette::setMode()
, IlvGraphic::setMode()
. enum IlvFillRule |
The different ways to fill a polygonal area.
When you use a drawing command that fills a polygon (typically IlvPort::fillPolyLine(
), and if the resulting polygon has segments that cross each other, there are different ways to decide whether a point should be considered as part of the polygon (and therefore, painted) or not. This enumeration lets you specify what behavior you expect.
enum IlvFillStyle |
The different ways to fill an area.
When you use a drawing command that fills an area (such as IlvPort::fillRectangle()
), and if you have set a pattern to the palette, then the pattern may be used in different ways.
Enumerator | |
---|---|
IlvFillPattern | The palette uses the monochrome pattern that was set by The pattern is copied to the destination port using the foreground color of the palette for each ' |
IlvFillMaskPattern | The palette uses the monochrome pattern that was set by The pattern is copied to the destination port using the foreground color of the palette for each ' |
IlvFillColorPattern | The palette uses the colored pattern that was set by The pattern is entirely copied to the destination port. |
IlvFillGradientPattern | The palette uses the gradient pattern that was set by The pattern is entirely copied to the destination port. |
enum IlvFontStyle |
The different basic font styles.
When allocating a font (using IlvDisplay::getFont()
), you can specify the style of this font using the values defined in this enumeration.
ORed
in order to accumulate several style modifiers. For example, if you need an underlined, bold font, you will be using: Enumerator | |
---|---|
IlvNormalFontStyle | The font has no special style. |
IlvBoldFontStyle | The font is blod. |
IlvUnderlinedFontStyle | The font is underlined. |
IlvItalicFontStyle | The font is slanted. |
The gradient aspect ratio setting.
This enumeration specifies how to keep the aspect ratio when calculating the gradient transformation to apply when drawing your gradient pattern. This setting is only used with the IlvGradientTransformGraphic
gradient transform mode.
enum IlvGradientSpread |
The gradient spread.
This enumeration specifies how the gradient should spread outside of its boundaries.
IlvGradientPattern::setSpread()
. Enumerator | |
---|---|
IlvGradientPadSpread | Use solid colors. |
IlvGradientRepeatSpread | Repeat the gradient. |
IlvGradientReflectSpread | Reflect the gradient. |
The gradient transform mode.
This enumeration specifies which transformation to apply when drawing your gradient pattern.
© Copyright 2017, 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.