#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.
This function obtains the processing method for overwriting the OBJ's affine transformation mode when the renderer is drawing OBJs by using the 2D graphics engine. Specify the method using the 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;
When NNS_G2D_RND_AFFINE_OVERWRITE_DOUBLE is specified, the renderer will internally perform position correction of the OBJ. Starting with the 06/06/05 version, position correction processing is performed only when the OBJ's affine transformation mode is actually changed. In other words, no correction will be 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