Inheritance diagram for XFcPrimitiveDrawPatternFiller:
Public Member Functions | |
virtual XFCIMPORT | ~XFcPrimitiveDrawPatternFiller () |
Virtual destructor. | |
virtual XFCIMPORT void | setPattern (XFcGLSurface *aSourceImage, XFcRectangle &aSourceRect) |
Sets the image to be used for filling and the rectangle from which the pattern is read. | |
virtual XFCIMPORT void | setPatternTransformation (XFcMatrix3 &aTransformation) |
Sets the pattern transformation for the pattern. | |
virtual XFCIMPORT void | setTransformation (XFcMatrix3 &aTransformation) |
Sets the rendering transformation for the pattern. | |
virtual XFCIMPORT void | initFill () |
Initializes the filler for filling. | |
virtual XFCIMPORT void | deinitFill () |
Deinitializes the filler after rendering. | |
virtual XFCIMPORT void | fill (INT32 aXStart, INT32 aXEnd, INT32 aY, UINT32 *aScanline) |
Static Public Member Functions | |
XFCIMPORT XFcPrimitiveDrawPatternFiller * | create (XFcGLSurface *aSourceImage, XFcRectangle &aSourceRect) |
Creates the pattern filler. | |
Protected Member Functions | |
XFcPrimitiveDrawPatternFiller () | |
Protected constructor. | |
virtual void | updateTransformation () |
Updates the transformation matrix. | |
virtual void | updatePatternImage () |
Updates the pattern image from the source image. | |
Protected Attributes | |
XFcGLSurface * | mSourceImage |
XFcGLSurface * | mPatternImage |
XFcRectangle | mSourceRect |
XFcMatrix3 | mTransformation |
XFcMatrix3 | mPatternTransformation |
XFcMatrix3 | mGlobalTransformation |
XFcMatrix3 | mRenderTransformation |
INT32 | mRequiresUpdate |
REAL | mWidthScale |
REAL | mHeightScale |
UINT32 * | mPatternBuffer |
INT32 | mPatternPitch |
INT32 | mPatternWidth |
INT32 | mPatternHeight |
|
Virtual destructor.
|
|
Protected constructor.
|
|
Creates the pattern filler.
|
|
Deinitializes the filler after rendering.
Implements XFcPrimitiveDrawFiller. |
|
Fills aLength PREMULA8R8G8B8 pixels to a scanline. param aXStart the starting position on the scanline param aXEnd the ending position on the scanline param aY the y position of the scanline param aScanline the start of the scanline Implements XFcPrimitiveDrawFiller. |
|
Initializes the filler for filling. This should be called before calling fill() for the first filled span. Implements XFcPrimitiveDrawFiller. |
|
Sets the image to be used for filling and the rectangle from which the pattern is read. Note that the image is not copied, so it shoudn't be modified or deleted until the fill operation is done. However, the image is cached for transformation, so if the source image is animated, setPattern has to be called for every animation frame, otherwise the result may not work. |
|
Sets the pattern transformation for the pattern.
|
|
Sets the rendering transformation for the pattern.
|
|
Updates the pattern image from the source image.
|
|
Updates the transformation matrix.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |