# NNS_G2dGetOAMSize / NNS_G2dGetOAMSizeX / NNS_G2dGetOAMSizeY

## Syntax

      #include <nnsys/g2d/fmt/g2d_Oam_data.h>

          static inline GXOamShape NNS_G2dGetOAMSize( const GXOamAttr* oamAttr );
          static inline int NNS_G2dGetOamSizeX( const GXOamShape* oamShape );
          static inline int NNS_G2dGetOamSizeY( const GXOamShape* oamShape );

## Arguments

oamAttr | [IN] OAM attribute
oamShape | [IN] GXOamShape enumerator that indicates the OBJ shape information

## Return Values

Obtains the OBJ size.

## Description

Obtains the OBJ size as an `int` type from the OAM attribute. Internally, the `NNS_G2dGetOamSize*()` function refers to a table to determine the size.

## See Also

None.

## Revision History

2004/10/12 Initial version.

CONFIDENTIAL