NNS_G2dMapScrToChar256x16Pltt

Syntax


#include <nnsys/g2d/g2d_CharCanvas.h>

void NNS_G2dMapScrToChar256x16Pltt(
    void* areaBase,
    int areaWidth,
    int areaHeight,
    NNSG2d256x16PlttBGWidth scnWidth,
    int charNo,
    int cplt
);

Arguments

areaBase [OUT] Pointer to screen corresponding to upper-left corner of CharCanvas display. Must have 2-byte alignment.
areaWidth [IN] CharCanvas width (in character units)
areaHeight [IN]CharCanvas height (in character units)
scnWidth [IN] Screen width
charNo [IN] Character No. at starting point of characters assigned to CharCanvas
cplt [IN] Color palette No. specified for the screen

Return Values

None.

Description

Configures the Affine Extended 256x16 Palette BG screen so it can display CharCanvas.

Specify one of the following for scnWidth:

NNS_G2D_256x16PLTT_BG_WIDTH_128 Screen width is 128 pixels (screen size is 128x128)
NNS_G2D_256x16PLTT_BG_WIDTH_256 Screen width is 256 pixels (screen size is 256x256)
NNS_G2D_256x16PLTT_BG_WIDTH_512 Screen width is 512 pixels (screen size is 512x512)
NNS_G2D_256x16PLTT_BG_WIDTH_1024 Screen width is 1024 pixels (screen size is 1024x1024)

Conceptual Diagram

See Also

Revision History

2005/05/25 Initial version.


CONFIDENTIAL