#include <nnsys/g2d/g2d_Renderer.h>
NNS_G2D_INLINE void NNS_G2dSetRendererAffineOverwriteMode(
NNSG2dRendererInstance* pRend,
NNSG2dRendererAffineTypeOverwiteMode affineMode );
pRend |
[OUT] Renderer entity |
affineMode |
[IN] Affine transformation mode rewrite method |
None.
Sets the processing method for overwriting an OBJ's affine transformation mode when the renderer is using the 2D graphics engine to draw OBJs. Specify the method using NNSG2dRendererAffineTypeOverwiteMode
.
The definition of NNSG2dRendererAffineTypeOverwiteMode
is shown below.
typedef enum NNSG2dRendererAffineTypeOverwiteMode
{
NNS_G2D_RND_AFFINE_OVERWRITE_NONE, // Does not overwrite
NNS_G2D_RND_AFFINE_OVERWRITE_NORMAL,// Sets to the normal affine transformation
NNS_G2D_RND_AFFINE_OVERWRITE_DOUBLE // Sets to the double-size affine transformation
}NNSG2dRendererAffineTypeOverwiteMode;
NNS_G2D_RND_AFFINE_OVERWRITE_DOUBLE
is specified, the renderer internally performs position correction of the OBJ. Starting with the 2005/06/06 version, position correction processing is performed only when the OBJ's affine transformation mode is actually changed. In other words, no correction is applied to data created originally as a double-size affine OBJ.
NNS_G2dGetRendererAffineOverwriteMode
2005/06/06 Added warning about position correction processing.
2004/10/04 Initial version.
CONFIDENTIAL