|
|
|
class CAnimGc : public CBitmapContext;
Animation graphics context.
An object of this type is linked into CAnim by the window server, which allows you to draw to the animation window. The object's functions allow you to set and cancel
the clipping region, and to draw to the visible window using the inherited CBitmapContext functions.
CBase -
Base class for all classes to be instantiated on the heap.
CGraphicsContext - Abstract base class for all graphics contexts.
CBitmapContext - An abstract, device-independent, interface to bitmapped graphics contexts.
CAnimGc - Animation graphics context.
Defined in CAnimGc:
CancelClippingRegion()Cancels the clipping region.SetClippingRegion(const TRegion &)Sets the clipping region.Inherited from CBase:
Delete(CBase *)Deletes the specified object.Extension_(TUint,TAny *&,TAny *)Extension function operator new(TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)Initialises the object to binary zeroes.operator new(TUint,TLeave)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)Allocates the object from the heap and then initialises its contents to binary z...Inherited from CBitmapContext:
AlphaBlendBitmaps(const TPoint &,const CFbsBitmap *,const TRect &,const CFbsBitmap *,const TPoint &)Performs an alpha blending of the source data, aSrcBmp, with the CBitmapContext,...AlphaBlendBitmaps(const TPoint &,const CWsBitmap *,const TRect &,const CWsBitmap *,const TPoint &)The method performs an alpha blending of the source data, aSrcBmp, with the CBit...BitBlt(const TPoint &,const CFbsBitmap *)Performs a bitmap block transfer.BitBlt(const TPoint &,const CFbsBitmap *,const TRect &)Performs a bitmap block transfer of a rectangular piece of a bitmap.BitBltMasked(const TPoint &,const CFbsBitmap *,const TRect &,const CFbsBitmap *,TBool)Performs a masked bitmap block transfer.Clear()Clears the whole bitmap.Clear(const TRect &)Clears a rectangular area of a bitmap.CopyRect(const TPoint &,const TRect &)Copies a rectangle.Reserved_CBitmapContext_1()Reserved_CBitmapContext_2()Reserved_CBitmapContext_3()Reserved_CGraphicsContext_2()A reserved virtual function for future use.SetFaded(TBool)Sets whether the graphics context is faded.SetFadingParameters(TUint8,TUint8)Sets the fading parameters.Inherited from CGraphicsContext:
CancelClippingRect()Cancels any clipping rectangle.Device()constGets a pointer to the graphics context's graphics device.DiscardBrushPattern()Discards a non-built-in brush pattern.DiscardFont()Discards a font.DrawArc(const TRect &,const TPoint &,const TPoint &)Draws an arc.DrawBitmap(const TPoint &,const CFbsBitmap *)Draws a bitmap at the specified point.DrawBitmap(const TRect &,const CFbsBitmap *)Draws a bitmap to fit a given rectangle.DrawBitmap(const TRect &,const CFbsBitmap *,const TRect &)Draws a specified rectangle of a source bitmap to fit into a given destination r...DrawBitmapMasked(const TRect &,const CFbsBitmap *,const TRect &,const CFbsBitmap *,TBool)Draws a specified rectangle of a source bitmap to fit into a given rectangle usi...DrawBitmapMasked(const TRect &,const CWsBitmap *,const TRect &,const CWsBitmap *,TBool)Draws a specified rectangle from a wserv bitmap and its mask into another rectan...DrawEllipse(const TRect &)Draws and fills an ellipse.DrawLine(const TPoint &,const TPoint &)Draws a straight line between two points.DrawLineBy(const TPoint &)Draws a straight line relative to the current drawing point, using a vector.DrawLineTo(const TPoint &)Draws a straight line from the current drawing point to a specified point.DrawPie(const TRect &,const TPoint &,const TPoint &)Draws and fills a pie slice.DrawPolyLine(const CArrayFix< TPoint > *)Draws a polyline from a set of points in an array.DrawPolyLine(const TPoint *,TInt)Draws a polyline from a set of points in a list.DrawPolygon(const CArrayFix< TPoint > *,TFillRule)Draws and fills a polygon defined using an array of points.DrawPolygon(const TPoint *,TInt,TFillRule)Draws and fills a polygon defined using a list of points.DrawRect(const TRect &)Draws and fills a rectangle.DrawRoundRect(const TRect &,const TSize &)Draws and fills a rectangle with rounded corners.DrawText(const TDesC &,const TPoint &)Draws text without a surrounding box.DrawText(const TDesC &,const TPoint &,const TDrawTextParam &)Draws the specified text at the given position using the parameters supplied.DrawText(const TDesC &,const TRect &,TInt,TTextAlign,TInt)Draws text inside a box.DrawTextExtended(const TDesC &,const TPoint &,const TDrawTextExtendedParam &)Draws text, optionally changing its direction (right-to-left / left-to-right).DrawTextVertical(const TDesC &,const TPoint &,TBool)Draws vertical text in the specified direction. DrawTextVertical(const TDesC &,const TRect &,TInt,TBool,TTextAlign,TInt)Draws text vertically in the specified direction, within a box of the specified ...EAlternateOnly fill areas with odd winding numbers. EAnd8 ECenterText is centred. EDashedPenA dashed line. Screen pattern unit = 111000... EDiamondCrossHatchBrushThe brush fills with forward diagonal and rearward diagonal hatching lines going...EDotDashPenA line of alternating dashes and dots. Screen pattern unit = 1111001100... EDotDotDashPenA line of alternating single dashes and pairs of dots. Screen pattern unit = 111...EDottedPenA dotted line. Screen pattern unit = 1000... EDrawModeANDBitwise ANDs the pen and brush colours with the screen colour. P=p&s, B=b&am...EDrawModeANDNOTInverts the screen colour before ANDing. P=p&(~s), B=b&(~s) EDrawModeNOTANDInverts the pen and brush colours before ANDing. P=(~p)&s, B=(~b)&s EDrawModeNOTANDNOTInverts the screen and pen and brush colours before ANDing. P=(~p)&(~s), B=(...EDrawModeNOTORInverts the pen and brush colours before ORing. P=(~p)|s, B=(~b)|s EDrawModeNOTORNOTNOT OR NOT mode. P=(~p)|(~s), B=(~b)|(~s) EDrawModeNOTPENInverts the pen and brush colours. P=~p, B=~b EDrawModeNOTSCREENInverts the colour of each pixel that is drawn over, (pen and brush attributes a...EDrawModeNOTXORInverts the pen and brush colours before XORing. P=(~p)^s, B=(~b)^s EDrawModeORBitwise ORs the pen and brush colours with the screen colour. P=p|s, B=b|s EDrawModeORNOTInverts the screen, pen and brush colours before ORing. P=p|(~s), B=b|(~s) EDrawModePENUses both pen and brush colour as they are. P=p, B=b EDrawModeWriteAlphaWrites alpha information in the source directly into the destination, rather tha...EDrawModeXORBitwise XORs the pen and brush colours with the screen colour. P=p^s, B=b^s EForwardDiagonalHatchBrushThe brush fills with diagonal hatching lines going from bottom left to top right...EHorizontalHatchBrushThe brush fills with horizontal hatching lines going from left to right. EInvertPen16 EInvertScreen1 ELeftText is left-aligned. ELogicalOp14 ENullBrushThe brush fill has no effect (default). ENullPenThe pen does not draw. Screen pattern unit = 00... EOr4 EPatternedBrushThe brush fills with a selected bitmap pattern, set by CGraphicsContext::UseBrus...EPenmode32 ERearwardDiagonalHatchBrushThe brush fills with rearward diagonal hatching lines going from top left to bot...ERightText is right-aligned. ESolidBrushThe brush fills with a solid single colour, determined by CGraphicsContext::SetB...ESolidPenA solid line (default). Screen pattern unit = 11... ESquareCrossHatchBrushThe brush fills with horizontal and vertical hatching lines going from left to r...EVerticalHatchBrushThe brush fills with vertical hatching lines going from top to bottom. EWindingFill areas with winding numbers greater than zero. EWriteAlpha64 EXor2 GetShadowColor(TRgb &)Get the font's shadow colour GetUnderlineMetrics(TInt &,TInt &)JustificationInPixels(TInt &,TInt &)Gets the amount of space in pixels by which to adjust the current letter or word...JustificationInPixels(TInt,TInt,TInt,TInt)Gets the amount of space in pixels by which to adjust letter or word spacing, gi...MapColors(const TRect &,const TRgb *,TInt,TBool)Maps pixels in the specified rectangle. The function tries to match the colour o...MoveBy(const TPoint &)Sets the drawing point relative to the current co-ordinates.MoveTo(const TPoint &)Sets the drawing point relative to the co-ordinate origin.Plot(const TPoint &)Draws a single point. The point is drawn with the current pen settings using the...Reserved()Reserved function for future use. Reset()Resets the graphics context to its default settings:SetBrushColor(const TRgb &)Sets the brush colour.SetBrushOrigin(const TPoint &)Sets the brush pattern origin.SetBrushStyle(TBrushStyle)Sets the brush style.SetCharJustification(TInt,TInt)Sets character justification.SetClippingRect(const TRect &)Sets the clipping rectangle.SetDrawMode(TDrawMode)Sets the drawing mode.SetOrigin(const TPoint &)Sets the position of the co-ordinate origin.SetPenColor(const TRgb &)Sets the pen colour.SetPenSize(const TSize &)Sets the line drawing size for the pen.SetPenStyle(TPenStyle)Sets the line drawing style for the pen.SetShadowColor(const TRgb &)Set the font's shadow colour SetStrikethroughStyle(TFontStrikethrough)Sets the strikethrough style.SetUnderlineStyle(TFontUnderline)Sets the underline style.SetWordJustification(TInt,TInt)Adjusts the spaces between words to stretch or squeeze to a certain width.TBrushStyleBrush styles. TDrawModeDrawing modes.TDrawModeComponentsDrawing mode components. This enum is not intended to be used directly, but prov...TDrawTextExtendedParamParameters for extended text drawing and measuring. It is used by CGraphicsConte...TDrawTextParamParameters to control the drawing of text. TFillRuleRules used to fill self crossing polygons.TPenStylePen styles. The screen pattern unit in each definition below describes the patte...TTextAlignText alignment. UseBrushPattern(const CFbsBitmap *)Sets the brush pattern to the specified bitmap.UseFont(const CFont *)Sets the device font to be used for text drawing.virtual TInt SetClippingRegion(const TRegion &aRegion)=0;
Sets the clipping region.
Only the parts of the animation which are within the clipping region are drawn.
|
|
virtual void CancelClippingRegion()=0;
Cancels the clipping region.
CAnimGc::SetClippingRegion(const TRegion &)Sets the clipping region.