#include <graphicsaccelerator.h>
class TGraphicsAcceleratorCaps |
Stores the capabilities of a graphics accelerator.
All of the member enums except TMaskBitmapCaps define flags that are stored as public data of type TUint. Only TMaskBitmapCaps takes sequential values, so its values are mutually exclusive.
An object of this class is returned by CGraphicsAccelerator::Capabilities() or by GenericCapabilities(), which is implemented by CSoftwareGraphicsAccelerator and CHardwareGraphicsAccelerator.
See also: CGraphicsAccelerator::Capabilities()
TUint | iAlphaBitmap |
Specifies the supported alpha bitmap types. Uses a bit flag for each TAlphaBitmapCaps supported.
See also: TAlphaBitmapCaps
TUint | iAlphaChannel |
Specifies the capabilities relating to operations that use an alpha channel. Uses a bit flag for each TAlphaChannelCaps supported.
See also: TAlphaChannelCaps
TUint | iClipping |
Indicates whether the Operation() methods which take clipping rectangles as parameters are supported.
See also: TClipCaps
TUint | iDisplayModes |
A bit mask of the supported display modes for the bitmap passed to the graphics accelerator's NewL(). Uses the least significant 11 bits as flags for each TDisplayMode supported. For instance, to check whether the EColor256 display mode is available, use the expression iDisplayModes & (1 << EColor256).
See also: TDisplayMode
TMaskBitmapCaps | iMaskType |
Specifies the display mode restrictions for bitmap masks. These are mutually exclusive values.
See also: TMaskBitmapCaps
TUint | iPattern |
Specifies the supported bitmap types for fill patterns. Uses a bit flag for each TPatternCaps supported.
See also: TPatternCaps
TUint | iPatternSizes |
Specifies the sizes of bitmaps that can be used in bitmap patterns.
This is a bitmask for each power of 2, or EPatternSizeAny. For example, if bitmaps used in patterns can only have a width or height of 16 pixels then this value should be set to 16. If patterns can have dimensions of 16, 32, 64, 128 or 256, then this value would equal the sum of these, (i.e. bits 4, 5, 6, 7 and 8 would be set). If this value is equal to EPatternSizeAny, there are no restrictions on the size of patterns that can be used.
See also: TPatternSizeCaps
TUint | iPolygon |
Specifies the supported fill rules for self crossing polygons. Uses a bit flag for each TPolygonCaps supported.
See also: TPolygonCaps
TUint | iReserved |
iReserved[0] specifies the supported rendering orientations.Uses a bit flags for each TOrientationCaps supported.
See also: TOrientationCaps iReserved[1]-iReserved[3] are reserved for future use. All should be set to zero.
TUint | iTransparency |
Specifies the transparency types supported. Uses a bit flag for each TTransparencyType supported.
See also: TTransparencyType
TUid | iVendorUid |
Optional UID to identify the vendor of the graphics accelerator. This UID can be used to recognise a particular accelerator, enabling code to use any custom graphics operations and capabilities that it knows the accelerator provides.
Bit flags for the capabilities relating to operations which take an alpha bitmap parameter, for instance TGopBitBltAlphaBitmap. These flags are used by the iAlphaBitmap member.
Bit flags for the capabilities relating to operations that use an alpha channel (TGopBitBltAlphaChannel and TGopScaledBitBltAlphaChannel). These flags are used by the iAlphaChannel member.
Clipping capabilities. Used by the iClipping member.
See also: CGraphicsAccelerator::Operation()
Enumerator | Value | Description |
---|---|---|
EClipToBitmap | 1 | |
EClipping | 2 |
The accelerator supports the Operation() methods which take clipping rectangles as parameters. See also: CGraphicsAccelerator::Operation() |
Enumerates the capabilities relating to operations taking a bitmap mask parameter, for instance TGopBitBltMasked. These are mutually exclusive values used by the iMaskType member.
Bit flags for the specifying the supported rendering orientations.
See also: CFbsBitGc::TGraphicsOrientation
Bit flags for the capabilities relating to operations that draw a fill pattern using a bitmap, for instance TGopFilledRectWithPatern. They are used in the iPattern member.
Indicates whether there is a restriction on the sizes of bitmaps that can be used in bitmap patterns.
This is one of the possible values for the iPatternSizes member.
See also: TGopFillPattern
Bit flags for how self-crossing polygons are filled.
See also: CGraphicsContext::TFillRule
Enumerator | Value | Description |
---|---|---|
EPolygonFillAlternate | 1 |
Only areas with odd winding numbers are filled. |
EPolygonFillWinding | 2 |
All areas with a winding number greater than zero are filled. See also: CGraphicsContext::TFillRule |