# NNS_G2dEntryOamManExOamWithAffineIdx

## C Specification

      #include <nnsys/g2d/g2d_OAMEx.h>

      BOOL NNS_G2dEntryOamManExOamWithAffineIdx(
      NNSG2dOamManagerInstanceEx*     pMan,
      const GXOamAttr*                pOam,
      u8                              priority,
      u16                             affineIdx );

## Arguments

`pMan` | [OUT] Extended OAM manager entity
pOam | [IN] OAM attribute
priority | [IN] Drawing priority
affineIdx | [IN] Affine index

## Return Values

Success or failure of registration

## Description

Registers OBJs in the extended OAM Manager and specifies the order of the entry when it is drawn. This function specifies the affine index.

## This following caution applies when the drawing order for OAM groups have the same display priority.

    OAMs that have undergone affine transformation are managed on a separate list in the manager,
    and they are moved to the top of the normal OAM list after the actual affine parameter numbers have been resolved when NNS_G2dApplyOamManExToBaseModule() is called.
    Accordingly, OAMs that have undergone affine transformaton in OAM groups with the same display priority will be called before OAMs that have not undergone affine transformaton.

The name of this function has been changed from `NNS_G2dEntryNewOamWithAffineIdxEx`. The previous function remains under a different name in order to maintain compatibility.

## See Also

`NNS_G2dEntryNewOamWithAffineIdxEx`, `NNS_G2dEntryOamManExOam`

## Revision History

03/28/2005 Added caution regarding the drawing order for OAM groups with the same display priority

08/02/2004 Renamed function

06/22/2004 Initial version.