NNS_G2dSetRndCoreAffineOverwriteMode

C Specification

#include <nnsys/g2d/g2d_RendererCore.h>
void NNS_G2dSetRndCoreAffineOverwriteMode
    ( 
        NNSG2dRndCoreInstance*                  pRnd, 
        NNSG2dRendererAffineTypeOverwiteMode    mode 
    );

Arguments

pRnd [OUT] Renderer core
mode [IN] Enumerator to display the overwrite operation of the affine transformation mode. (NNSG2dRendererAffineTypeOverwiteMode)

Return Values

None.

Description

Sets the overwrite behavior for the affine transformation mode.
The enumerator definitions for the various types of overwrite actions are shown in the following example:

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;
This function can be called inside or outside of the BeginRenderingEndRendering block.

When NNS_G2D_RND_AFFINE_OVERWRITE_DOUBLE is specified, the renderer will internally perform position correction of the OBJ.
Starting with the 06/06/2005 Version, position correction processing is performed only when the OBJ's affine transformation mode is actually changed. (In other words, data created as a double-size affine OBJ will not be corrected.)

See Also

None.

Revision History

06/06/2005 Added warning about position correction processing.
11/10/2004 Initial version.