# NNSG2dTagCallback

## C Specification

      #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 a tagged process.

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. Rewriting this information is a way to alter the drawing conditions.

## See Also

NNS_G2dTextCanvasDrawTaggedText, NNSG2dTagCallbackInfo

## Revision History

05/25/2005 Initial version.