| class MDirectGdiEngine |
Pure virtual interface for licensee adaptation of GDI platform implementation.
| Public Member Functions | |
|---|---|
| TInt | Activate ( RDirectGdiImageTarget &) |
| void | BeginDrawGlyph () |
| void | BitBlt (const TPoint &, const CFbsBitmap &, const TRect &) |
| void | BitBltMasked (const TPoint &, const CFbsBitmap &, const TRect &, const CFbsBitmap &, TBool ) |
| void | BitBltMasked (const TPoint &, const CFbsBitmap &, const TRect &, const CFbsBitmap &, const TPoint &) |
| void | Clear (const TRect &) |
| void | Clear () |
| void | CopyRect (const TPoint &, const TRect &) |
| void | Deactivate () |
| void | DrawArc (const TRect &, const TPoint &, const TPoint &) |
| void | DrawBitmap (const TRect &, const CFbsBitmap &, const TRect &) |
| void | DrawBitmapMasked (const TRect &, const CFbsBitmap &, const TRect &, const CFbsBitmap &, TBool ) |
| void | DrawEllipse (const TRect &) |
| void | DrawGlyph (const TPoint &, const TChar , const TUint8 *, const TGlyphBitmapType , const TSize &, const TRect &, const DirectGdi::TGraphicsRotation ) |
| void | DrawLine (const TPoint &, const TPoint &) |
| void | DrawLineBy (const TPoint &) |
| void | DrawLineTo (const TPoint &) |
| void | DrawPie (const TRect &, const TPoint &, const TPoint &) |
| void | DrawPolyLine (const TArray < TPoint > &) |
| void | DrawPolyLineNoEndPoint (const TArray < TPoint > &) |
| void | DrawPolygon (const TArray < TPoint > &, DirectGdi::TFillRule ) |
| void | DrawRect (const TRect &) |
| void | DrawResource (const TPoint &, const RDirectGdiDrawableSource &, DirectGdi::TGraphicsRotation ) |
| void | DrawResource (const TRect &, const RDirectGdiDrawableSource &, DirectGdi::TGraphicsRotation ) |
| void | DrawResource (const TRect &, const RDirectGdiDrawableSource &, const TRect &, DirectGdi::TGraphicsRotation ) |
| void | DrawResource (const TRect &, const RDirectGdiDrawableSource &, const TDesC8 &) |
| void | DrawRoundRect (const TRect &, const TSize &) |
| void | EndDrawGlyph () |
| void | ExternalizeL ( RWriteStream &) |
| TInt | GetInterface ( TUid , TAny *&) |
| void | InternalizeL ( RReadStream &) |
| void | MoveBy (const TPoint &) |
| void | MoveTo (const TPoint &) |
| void | Plot (const TPoint &) |
| void | Reset () |
| void | ResetBrushPattern () |
| void | ResetClippingRegion () |
| void | ResetFont () |
| void | SetBrushColor (const TRgb &) |
| void | SetBrushOrigin (const TPoint &) |
| TInt | SetBrushPattern (const CFbsBitmap &) |
| void | SetBrushStyle ( DirectGdi::TBrushStyle ) |
| void | SetClippingRegion (const TRegion &) |
| void | SetDrawMode ( DirectGdi::TDrawMode ) |
| void | SetFont ( TUint32 ) |
| void | SetOrigin (const TPoint &) |
| void | SetPenColor (const TRgb &) |
| void | SetPenSize (const TSize &) |
| void | SetPenStyle ( DirectGdi::TPenStyle ) |
| void | SetTextShadowColor (const TRgb &) |
| TInt | Activate | ( | RDirectGdiImageTarget & | aTarget | ) | [pure virtual] |
CDirectGdiContext::Activate() Deactivate()
| RDirectGdiImageTarget & aTarget |
| void | BeginDrawGlyph | ( | ) | [pure virtual] |
Prepares the drawing engine for drawing text as multiple DrawGlyph() commands. This function must always have a corresponding call to EndDrawGlyph() after the multiple DrawGlyph() commands have been made. Other than DrawGlyph() , no other rendering should be issued to the engine until EndDrawGlyph() has been called.
| void | BitBlt | ( | const TPoint & | aDestPos, |
| const CFbsBitmap & | aBitmap, | |||
| const TRect & | aSourceRect | |||
| ) | [pure virtual] | |||
CDirectGdiContext::BitBlt(const TPoint&, const CFbsBitmap&, const TRect&)
| const TPoint & aDestPos | |
| const CFbsBitmap & aBitmap | |
| const TRect & aSourceRect |
| void | BitBltMasked | ( | const TPoint & | aDestPos, |
| const CFbsBitmap & | aBitmap, | |||
| const TRect & | aSourceRect, | |||
| const CFbsBitmap & | aMask, | |||
| TBool | aInvertMask | |||
| ) | [pure virtual] | |||
CDirectGdiContext::BitBltMasked(const TPoint&, const CFbsBitmap&, const TRect&, const CFbsBitmap&, TBool)
| const TPoint & aDestPos | |
| const CFbsBitmap & aBitmap | |
| const TRect & aSourceRect | |
| const CFbsBitmap & aMask | |
| TBool aInvertMask |
| void | BitBltMasked | ( | const TPoint & | aDestPos, |
| const CFbsBitmap & | aBitmap, | |||
| const TRect & | aSourceRect, | |||
| const CFbsBitmap & | aMask, | |||
| const TPoint & | aMaskPos | |||
| ) | [pure virtual] | |||
CDirectGdiContext::BitBltMasked(const TPoint&, const CFbsBitmap&, const TRect&, const CFbsBitmap&, const TPoint&)
| const TPoint & aDestPos | |
| const CFbsBitmap & aBitmap | |
| const TRect & aSourceRect | |
| const CFbsBitmap & aMask | |
| const TPoint & aMaskPos |
| void | Clear | ( | const TRect & | aRect | ) | [pure virtual] |
CDirectGdiContext::Clear(const TRect&) Clear() SetBrushColor()
| const TRect & aRect |
| void | Clear | ( | ) | [pure virtual] |
CDirectGdiContext::Clear() Clear(const TRect&) SetBrushColor()
| void | CopyRect | ( | const TPoint & | aOffset, |
| const TRect & | aRect | |||
| ) | [pure virtual] | |||
Copies the contents of a rectangular area on the target to another location. The source rectangle will be intersected with the full extent of the target.
| void | Deactivate | ( | ) | [pure virtual] |
Unbinds the current rendering target (if any) from drawing engine. Drawing engine states or settings which are not dependent or non-target-specific remain unchanged.
The DirectGDI generic layer will call this method prior to activating the drawing engine for another rendering target.
| void | DrawArc | ( | const TRect & | aRect, |
| const TPoint & | aStart, | |||
| const TPoint & | aEnd | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawArc() DrawPie()
| void | DrawBitmap | ( | const TRect & | aDestRect, |
| const CFbsBitmap & | aBitmap, | |||
| const TRect & | aSourceRect | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawBitmap(const TRect&, const CFbsBitmap&, const TRect&)
| const TRect & aDestRect | |
| const CFbsBitmap & aBitmap | |
| const TRect & aSourceRect |
| void | DrawBitmapMasked | ( | const TRect & | aDestRect, |
| const CFbsBitmap & | aBitmap, | |||
| const TRect & | aSourceRect, | |||
| const CFbsBitmap & | aMask, | |||
| TBool | aInvertMask | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawBitmapMasked(const TRect&, const CFbsBitmap&, const TRect&, const CFbsBitmap&, TBool)
| const TRect & aDestRect | |
| const CFbsBitmap & aBitmap | |
| const TRect & aSourceRect | |
| const CFbsBitmap & aMask | |
| TBool aInvertMask |
| void | DrawEllipse | ( | const TRect & | aRect | ) | [pure virtual] |
CDirectGdiContext::DrawEllipse()
| const TRect & aRect |
| void | DrawGlyph | ( | const TPoint & | aPos, |
| const TChar | aChar, | |||
| const TUint8 * | aGlyphImage, | |||
| const TGlyphBitmapType | aBitmapType, | |||
| const TSize & | aGlyphImageSize, | |||
| const TRect & | aClipRect, | |||
| const DirectGdi::TGraphicsRotation | aRotation = DirectGdi::EGraphicsRotationNone | |||
| ) | [pure virtual] | |||
Draws a glyph.
| const TPoint & aPos | Position to start drawing the glyph after rotation has been applied (if necessary). |
| const TChar aChar | Character being drawn. |
| const TUint8 * aGlyphImage | Pointer to the glyph image data. |
| const TGlyphBitmapType aBitmapType | Type of bitmap format. |
| const TSize & aGlyphImageSize | Glyph image size. |
| const TRect & aClipRect | Clipping rect. |
| const DirectGdi::TGraphicsRotation aRotation = DirectGdi::EGraphicsRotationNone | Rotation specifying how the glyph will be drawn. |
| void | DrawLine | ( | const TPoint & | aStart, |
| const TPoint & | aEnd | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawLine() DrawLineTo() DrawLineBy() SetPenSize() SetPenStyle() SetPenColor() SetDrawMode()
| void | DrawLineBy | ( | const TPoint & | aVector | ) | [pure virtual] |
CDirectGdiContext::DrawLineBy() DrawLine() DrawLineTo() SetPenSize() SetPenStyle() SetPenColor() DrawMode() MoveTo() MoveBy()
| const TPoint & aVector |
| void | DrawLineTo | ( | const TPoint & | aPoint | ) | [pure virtual] |
CDirectGdiContext::DrawLineTo() DrawLine() DrawLineBy() SetPenSize() SetPenStyle() SetPenColor() SetDrawMode() MoveTo() MoveBy()
| const TPoint & aPoint |
| void | DrawPie | ( | const TRect & | aRect, |
| const TPoint & | aStart, | |||
| const TPoint & | aEnd | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawPie()
| void | DrawPolyLine | ( | const TArray < TPoint > & | aPointList | ) | [pure virtual] |
CDirectGdiContext::DrawPolyLine() SetPenColor() SetPenSize() SetPenStyle() SetDrawMode()
| void | DrawPolyLineNoEndPoint | ( | const TArray < TPoint > & | aPointList | ) | [pure virtual] |
CDirectGdiContext::DrawPolyLineNoEndPoint() SetPenColor() SetPenSize() SetPenStyle() SetDrawMode()
| void | DrawPolygon | ( | const TArray < TPoint > & | aPoints, |
| DirectGdi::TFillRule | aRule | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawPolygon()
| void | DrawRect | ( | const TRect & | aRect | ) | [pure virtual] |
CDirectGdiContext::DrawRect()
| const TRect & aRect |
| void | DrawResource | ( | const TPoint & | aPos, |
| const RDirectGdiDrawableSource & | aSource, | |||
| DirectGdi::TGraphicsRotation | aRotation | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawResource(const TPoint&, const RDirectGdiImageSource&, DirectGdi::TGraphicsRotation)
| const TPoint & aPos | |
| const RDirectGdiDrawableSource & aSource | |
| DirectGdi::TGraphicsRotation aRotation |
| void | DrawResource | ( | const TRect & | aDestRect, |
| const RDirectGdiDrawableSource & | aSource, | |||
| DirectGdi::TGraphicsRotation | aRotation | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawResource(const TRect&, const RDirectGdiImageSource&, DirectGdi::TGraphicsRotation)
| const TRect & aDestRect | |
| const RDirectGdiDrawableSource & aSource | |
| DirectGdi::TGraphicsRotation aRotation |
| void | DrawResource | ( | const TRect & | aDestRect, |
| const RDirectGdiDrawableSource & | aSource, | |||
| const TRect & | aSourceRect, | |||
| DirectGdi::TGraphicsRotation | aRotation | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawResource(const TRect&, const RDirectGdiImageSource&, const TRect&, DirectGdi::TGraphicsRotation)
| const TRect & aDestRect | |
| const RDirectGdiDrawableSource & aSource | |
| const TRect & aSourceRect | |
| DirectGdi::TGraphicsRotation aRotation |
| void | DrawResource | ( | const TRect & | aDestRect, |
| const RDirectGdiDrawableSource & | aSource, | |||
| const TDesC8 & | aParam | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawResource(const TRect&, const RDirectGdiDrawableSource&, const TDesC8&)
| const TRect & aDestRect | |
| const RDirectGdiDrawableSource & aSource | |
| const TDesC8 & aParam |
| void | DrawRoundRect | ( | const TRect & | aRect, |
| const TSize & | aCornerSize | |||
| ) | [pure virtual] | |||
CDirectGdiContext::DrawRoundRect()
| void | EndDrawGlyph | ( | ) | [pure virtual] |
Notifies the drawing engine that the last call to DrawGlyph() has been made for the text string. This function must always be matched to a corresponding BeginDrawGlyph() call. Other than DrawGlyph() , no other rendering should be issued to the engine until EndDrawGlyph() has been called.
| void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | [pure virtual] |
Writes the drawing engine object state to the passed write stream.
| RWriteStream & aWriteStream | Write stream. |
| TInt | GetInterface | ( | TUid | aInterfaceId, |
| TAny *& | aInterface | |||
| ) | [pure virtual] | |||
CDirectGdiContext::GetInterface()
| void | InternalizeL | ( | RReadStream & | aReadStream | ) | [pure virtual] |
Sets the drawing engine object state from the read stream.
| RReadStream & aReadStream | Read stream. |
| void | MoveBy | ( | const TPoint & | aVector | ) | [pure virtual] |
CDirectGdiContext::MoveBy() MoveTo()
| const TPoint & aVector |
| void | MoveTo | ( | const TPoint & | aPoint | ) | [pure virtual] |
CDirectGdiContext::MoveTo() MoveBy()
| const TPoint & aPoint |
| void | Plot | ( | const TPoint & | aPoint | ) | [pure virtual] |
CDirectGdiContext::Plot() SetPenSize() SetPenColor() SetDrawMode()
| const TPoint & aPoint |
| void | Reset | ( | ) | [pure virtual] |
Resets the engine state to default values.
CDirectGdiContext::Reset()
| void | ResetBrushPattern | ( | ) | [pure virtual] |
CDirectGdiContext::ResetBrushPattern() SetBrushPattern()
| void | ResetClippingRegion | ( | ) | [pure virtual] |
CDirectGdiContext::ReetClippingRegion() SetClippingRegion()
| void | SetBrushColor | ( | const TRgb & | aColor | ) | [pure virtual] |
CDirectGdiContext::SetBrushColor()
| const TRgb & aColor |
| void | SetBrushOrigin | ( | const TPoint & | aOrigin | ) | [pure virtual] |
CDirectGdiContext::SetBrushOrigin() SetBrushPattern()
| const TPoint & aOrigin |
| TInt | SetBrushPattern | ( | const CFbsBitmap & | aPattern | ) | [pure virtual] |
CDirectGdiContext::SetBrushPattern() ResetBrushPattern()
| const CFbsBitmap & aPattern |
| void | SetBrushStyle | ( | DirectGdi::TBrushStyle | aStyle | ) | [pure virtual] |
CDirectGdiContext::SetBrushStyle() SetBrushPattern()
| DirectGdi::TBrushStyle aStyle |
| void | SetClippingRegion | ( | const TRegion & | aRegion | ) | [pure virtual] |
CDirectGdiContext::ResetClippingRegion() SetClippingRegion()
| const TRegion & aRegion |
| void | SetDrawMode | ( | DirectGdi::TDrawMode | aMode | ) | [pure virtual] |
CDirectGdiContext::SetDrawMode()
| DirectGdi::TDrawMode aMode |
| void | SetFont | ( | TUint32 | aFontId | ) | [pure virtual] |
CDirectGdiContext::SetFont()
| TUint32 aFontId | The Font identifier. |
| void | SetOrigin | ( | const TPoint & | aOrigin | ) | [pure virtual] |
CDirectGdiContext::SetOrigin()
| const TPoint & aOrigin |
| void | SetPenColor | ( | const TRgb & | aColor | ) | [pure virtual] |
CDirectGdiContext::SetPenColor() DrawLine() DrawLineTo() DrawLineBy() DrawPolyLine() DrawPolygon() DrawRect() DrawRoundRect()
| const TRgb & aColor |
| void | SetPenSize | ( | const TSize & | aSize | ) | [pure virtual] |
CDirectGdiContext::SetPenSize() DrawLine() DrawLineTo() DrawLineBy() DrawPolyLine() DrawPolygon() DrawRect() DrawRoundRect() Plot()
| const TSize & aSize |
| void | SetPenStyle | ( | DirectGdi::TPenStyle | aStyle | ) | [pure virtual] |
CDirectGdiContext::SetPenStyle() DrawLine() DrawLineTo() DrawLineBy() DrawPolyLine() DrawPolygon() DrawRect() DrawRoundRect()
| DirectGdi::TPenStyle aStyle |
| void | SetTextShadowColor | ( | const TRgb & | aColor | ) | [pure virtual] |
CDirectGdiContext::SetTextShadowColor()
| const TRgb & aColor |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.