|
||
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
.
Defined in TGraphicsAcceleratorCaps
:
EAlpha1555
The accelerator can draw bitmaps with 1 bit for the alpha value and and 5 bits f...EAlpha4444
The accelerator can draw bitmaps with 4 bits each for the alpha value and the re...EAlpha8888
The accelerator can draw bitmaps with 8 bits each for the alpha value and the re...EAlphaBitmapColor16M
An EColor16M bitmap may be used as the alpha bitmap. The red, green and blue val...EAlphaBitmapGray256
For 256 greyscale bitmaps, the value of each pixel in the alpha bitmap (from 0 t...EAlphaBitmapMatchingMode
The alpha bitmap must have the same display mode as the source bitmap. EClipToBitmap
EClipping
The accelerator supports the Operation() methods which take clipping rectangles ...EMaskBitmapAnyDisplayMode
The mask bitmap can be in any display mode at all. EMaskBitmapGray2
The mask bitmap must be in EGray2 display mode. EMaskBitmapMatchingDisplayMode
The mask bitmap must be in the same display mode as the destination bitmap. EMaskBitmapNone
No masked operations are supported. EOrientationCapAll
All orientations are supported. EOrientationCapNormal
Normal orientation is supported. EOrientationCapRotated180
A 180 degree rotation is supported. EOrientationCapRotated270
A 270 degree rotation is supported. EOrientationCapRotated90
A 90 degree rotation is supported. EPatternAnyDisplayMode
The pattern bitmap can be in any display mode. EPatternMatchingDisplayMode
The pattern bitmap must be in the same display mode as the destination. EPatternMustBeSquare
The pattern bitmap must be square (width==height). EPatternSizeAny
There is no restriction on the dimensions of bitmap patterns. EPolygonFillAlternate
Only areas with odd winding numbers are filled. EPolygonFillWinding
All areas with a winding number greater than zero are filled.TAlphaBitmapCaps
Bit flags for the capabilities relating to operations which take an alpha bitmap...TAlphaChannelCaps
Bit flags for the capabilities relating to operations that use an alpha channel ...TClipCaps
Clipping capabilities. Used by the iClipping member.TMaskBitmapCaps
Enumerates the capabilities relating to operations taking a bitmap mask paramete...TOrientationCaps
Bit flags for the specifying the supported rendering orientations. TPatternCaps
Bit flags for the capabilities relating to operations that draw a fill pattern u...TPatternSizeCaps
Indicates whether there is a restriction on the sizes of bitmaps that can be use...TPolygonCaps
Bit flags for how self-crossing polygons are filled.iAlphaBitmap
Specifies the supported alpha bitmap types. Uses a bit flag for each TAlphaBitma...iAlphaChannel
Specifies the capabilities relating to operations that use an alpha channel. Use...iClipping
Indicates whether the Operation() methods which take clipping rectangles as para...iDisplayModes
A bit mask of the supported display modes for the bitmap passed to the graphics ...iMaskType
Specifies the display mode restrictions for bitmap masks. These are mutually exc...iPattern
Specifies the supported bitmap types for fill patterns. Uses a bit flag for each...iPatternSizes
Specifies the sizes of bitmaps that can be used in bitmap patterns.iPolygon
Specifies the supported fill rules for self crossing polygons. Uses a bit flag f...iReserved
iReserved[0] specifies the supported rendering orientations.Uses a bit flags for...iStructureSize
The size of this class in bytes. iTransparency
Specifies the transparency types supported. Uses a bit flag for each TTransparen...iVendorUid
Optional UID to identify the vendor of the graphics accelerator. This UID can be...iVersion
The version number of the API. CGraphicsAccelerator::Capabilities()
Returns the capabilities of the graphics accelerator.TClipCaps
Clipping capabilities. Used by the iClipping member.
CGraphicsAccelerator::Operation(const TGraphicsOperation &)
Requests the graphics accelerator to perform a single graphics operation.
|
TMaskBitmapCaps
Enumerates the capabilities relating to operations taking a bitmap mask parameter, for instance TGopBitBltMasked
. These are mutually exclusive values used by the iMaskType member.
|
TAlphaChannelCaps
Bit flags for the capabilities relating to operations that use an alpha channel (TGopBitBltAlphaChannel
and TGopScaledBitBltAlphaChannel
). These flags are used by the iAlphaChannel member.
|
TAlphaBitmapCaps
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.
|
TPatternSizeCaps
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.
TGopFillPattern
A pattern represented by a bitmap that is used by a graphics accelerator to fill...
|
TPatternCaps
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.
|
TPolygonCaps
Bit flags for how self-crossing polygons are filled.
CGraphicsContext::TFillRule
Rules used to fill self crossing polygons.
|
TOrientationCaps
Bit flags for the specifying the supported rendering orientations.
CFbsBitGc::TGraphicsOrientation
Defines possible rotation values.
|
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.
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).
TDisplayMode
Display modes. TUint iClipping;
Indicates whether the Operation() methods which take clipping rectangles as parameters are supported.
TGraphicsAcceleratorCaps::TClipCaps
Clipping capabilities. Used by the iClipping member.TMaskBitmapCaps iMaskType;
Specifies the display mode restrictions for bitmap masks. These are mutually exclusive values.
TGraphicsAcceleratorCaps::TMaskBitmapCaps
Enumerates the capabilities relating to operations taking a bitmap mask paramete...TUint iTransparency;
Specifies the transparency types supported. Uses a bit flag for each TTransparencyType supported.
TTransparencyType
Enumerates the four transparency types.TUint iAlphaChannel;
Specifies the capabilities relating to operations that use an alpha channel. Uses a bit flag for each TAlphaChannelCaps supported.
TGraphicsAcceleratorCaps::TAlphaChannelCaps
Bit flags for the capabilities relating to operations that use an alpha channel ...TUint iAlphaBitmap;
Specifies the supported alpha bitmap types. Uses a bit flag for each TAlphaBitmapCaps supported.
TGraphicsAcceleratorCaps::TAlphaBitmapCaps
Bit flags for the capabilities relating to operations which take an alpha bitmap...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.
TGraphicsAcceleratorCaps::TPatternSizeCaps
Indicates whether there is a restriction on the sizes of bitmaps that can be use...TUint iPattern;
Specifies the supported bitmap types for fill patterns. Uses a bit flag for each TPatternCaps supported.
TGraphicsAcceleratorCaps::TPatternCaps
Bit flags for the capabilities relating to operations that draw a fill pattern u...TUint iPolygon;
Specifies the supported fill rules for self crossing polygons. Uses a bit flag for each TPolygonCaps supported.
TGraphicsAcceleratorCaps::TPolygonCaps
Bit flags for how self-crossing polygons are filled.TUint iReserved[4];
iReserved[0] specifies the supported rendering orientations.Uses a bit flags for each TOrientationCaps supported.
TGraphicsAcceleratorCaps::TOrientationCaps
Bit flags for the specifying the supported rendering orientations. TGraphicsAcceleratorCaps::iReserved
iReserved[0] specifies the supported rendering orientations.Uses a bit flags for...