|
||
class TFrameInfo;
General frame info provided by all plugins.
Defined in TFrameInfo
:
CurrentDataOffset()const
Returns the current data offset.CurrentFrameState()const
Returns the current frame state.EAlphaChannel
Indicates if the frame contains alpha-blending information. This setting is only...ECanDither
Indicates if the frame can be decoded and drawn dithered. If this is not set, th...EColor
Indicates whether or not the frame is colour.EConstantAspectRatio
Indicates whether or not the frame's aspect ratio must be maintained during scal...EFrameInfoProcessingComplete
The frame has been processed.EFrameInfoProcessingFrame
The frame is being processed.EFrameInfoProcessingFrameHeader
The frame header is being processed.EFrameInfoUninitialised
The frame information has not been initialised.EFullyScaleable
Indicates whether or not the frame can be scaled.ELeaveInPlace
Mutually exclusive image disposal method 1, no disposal specified. Image is not ...EMngMoreFramesToDecode
This flag is used by Mng decoder to indicate that there are more frames to decod...EPartialDecodeInvalid
If this flag is set and an image convert operation returns KErrUnderFlow, the pa...ERestoreToBackground
Mutually exclusive image disposal method 2, restore to background colour. The ar...ERestoreToPrevious
Mutually exclusive image disposal method 3, restore to previous. The decoder is ...ETransparencyPossible
Indicates if any part of the frame is transparent.EUsesFrameSizeInPixels
This flag is used to indicate that the code sets iFrameSizeInPixelsFrameDataOffset()const
Returns the frame data offset.SetCurrentDataOffset(TInt)
Sets the current data offset to the supplied value.SetCurrentFrameState(TFrameInfoState)
Sets the current frame state to the supplied value.SetFrameDataOffset(TInt)
Sets the frame data offset to the supplied value.TFrameInfoFlags
Flags that define the attributes of a frame. These can be combined using an OR o...TFrameInfoState
Indicates the current status of frame processing.iBackgroundColor
The background color for the frame.iBitsPerPixel
The number of bits per pixel for the frame.iDelay
The delay in microseconds before displaying the next frame.iFlags
Frame information flags. A combination of the values contained in the TFrameInfo...iFrameCoordsInPixels
The coordinates of the frame within the screen in pixels.iFrameDisplayMode
The display mode for the frame.iFrameSizeInPixels
The size of frame in pixelsiFrameSizeInTwips
The size of the frame in twips.iOverallSizeInPixels
The size of the frame. A frame can occupy a rectangle within the overall image. ...IMPORT_C TFrameInfoState CurrentFrameState() const;
Returns the current frame state.
|
IMPORT_C void SetCurrentFrameState(TFrameInfoState aFrameInfoState);
Sets the current frame state to the supplied value.
|
IMPORT_C TInt CurrentDataOffset() const;
Returns the current data offset.
|
IMPORT_C void SetCurrentDataOffset(TInt aOffset);
Sets the current data offset to the supplied value.
|
IMPORT_C TInt FrameDataOffset() const;
Returns the frame data offset.
|
IMPORT_C void SetFrameDataOffset(TInt aOffset);
Sets the frame data offset to the supplied value.
|
TFrameInfoFlags
Flags that define the attributes of a frame. These can be combined using an OR operation.
|
TFrameInfoState
Indicates the current status of frame processing.
|
TTimeIntervalMicroSeconds iDelay;
The delay in microseconds before displaying the next frame.
TUint32 iFlags;
Frame information flags. A combination of the values contained in the TFrameInfoFlags enum.
TSize iOverallSizeInPixels;
The size of the frame. A frame can occupy a rectangle within the overall image. In this case, the frame size is less than the overall image size. For a GIF image, the following applies: For the first frame of the image, iOverallSizeInPixels will be the greater of the logical screen size and the size of the first frame. The logical screen size is defined in the logical screen descriptor block of the GIF image. If the GIF is animated it will contain a set of frames. The first frame will be full size but subsequent frames are sub-frames and iOverallSizeInPixels may differ for each sub-frame.
TSize iFrameSizeInPixels;
The size of frame in pixels