# NNSG2dTagCallback

## Syntax

      #include <nnsys/g2d/g2d_TextCanvas.h>

      typedef void (*NNSG2dTagCallback)(
      	u16 c,
      	NNSG2dTagCallbackInfo* pInfo
      );

## Arguments

c | [IN] Character that caused the callback to be issued.
pInfo | [IN,OUT] Pointer to the drawing information structure.

## Return Values

None.

## Description

This is the callback function that gets called from `NNS_G2dTextCanvasDrawTaggedText` for tag processing.

The character that caused the callback to be issued gets passed to the argument c. This is some character whose character code is 0x001F or lower. The argument pInfo holds the parameters that `NNS_G2dTextCanvasDrawTaggedText` uses internally for drawing. Overwriting this information is a way to alter the drawing conditions.

## See Also

`NNS_G2dTextCanvasDrawTaggedText, NNSG2dTagCallbackInfo`

## Revision History

2005/05/25 Initial version.

CONFIDENTIAL