vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Load the required module:
Functions | |
VITASDK_BUILD_ASSERT_EQ (4, SceFontLibHandle) | |
VITASDK_BUILD_ASSERT_EQ (0x2C, SceFontNewLibParams) | |
VITASDK_BUILD_ASSERT_EQ (4, SceFontImageRect) | |
VITASDK_BUILD_ASSERT_EQ (0x18, SceFontGlyphImage) | |
VITASDK_BUILD_ASSERT_EQ (0xA8, SceFontStyle) | |
VITASDK_BUILD_ASSERT_EQ (0x3C, SceFontCharInfo) | |
VITASDK_BUILD_ASSERT_EQ (0x108, SceFontInfo) | |
SceFontLibHandle | sceFontNewLib (SceFontNewLibParams *params, unsigned int *errorCode) |
int | sceFontDoneLib (SceFontLibHandle libHandle) |
SceFontHandle | sceFontOpen (SceFontLibHandle libHandle, int index, int mode, unsigned int *errorCode) |
SceFontHandle | sceFontOpenUserMemory (SceFontLibHandle libHandle, void *pMemoryFont, SceSize pMemoryFontSize, unsigned int *errorCode) |
SceFontHandle | sceFontOpenUserFile (SceFontLibHandle libHandle, char *file, int mode, unsigned int *errorCode) |
int | sceFontClose (SceFontHandle fontHandle) |
int | sceFontGetNumFontList (SceFontLibHandle libHandle, unsigned int *errorCode) |
int | sceFontFindOptimumFont (SceFontLibHandle libHandle, SceFontStyle *fontStyle, unsigned int *errorCode) |
int | sceFontFindFont (SceFontLibHandle libHandle, SceFontStyle *fontStyle, unsigned int *errorCode) |
int | sceFontGetFontInfo (SceFontHandle fontHandle, SceFontInfo *fontInfo) |
int | sceFontGetFontInfoByIndexNumber (SceFontLibHandle libHandle, SceFontStyle *fontStyle, int unknown, int fontIndex) |
int | sceFontSetResolution (SceFontLibHandle libHandle, float hRes, float vRes) |
int | sceFontGetFontList (SceFontLibHandle libHandle, SceFontStyle *fontStyle, int numFonts) |
int | sceFontGetCharInfo (SceFontHandle fontHandle, unsigned int charCode, SceFontCharInfo *charInfo) |
int | sceFontGetCharImageRect (SceFontHandle fontHandle, unsigned int charCode, SceFontImageRect *charRect) |
int | sceFontGetCharGlyphImage (SceFontHandle fontHandle, unsigned int charCode, SceFontGlyphImage *glyphImage) |
int | sceFontGetCharGlyphImage_Clip (SceFontHandle fontHandle, unsigned int charCode, SceFontGlyphImage *glyphImage, int clipXPos, int clipYPos, int clipWidth, int clipHeight) |
float | sceFontPixelToPointH (SceFontLibHandle libHandle, float fontPixelsH, unsigned int *errorCode) |
float | sceFontPixelToPointV (SceFontLibHandle libHandle, float fontPixelsV, unsigned int *errorCode) |
float | sceFontPointToPixelH (SceFontLibHandle libHandle, float fontPointsH, unsigned int *errorCode) |
float | sceFontPointToPixelV (SceFontLibHandle libHandle, float fontPointsV, unsigned int *errorCode) |
int | sceFontSetAltCharacterCode (SceFontLibHandle libHandle, unsigned int charCode) |
int | sceFontFlush (SceFontHandle fontHandle) |
Typedefs | |
typedef void * | SceFontLibHandle |
typedef void * | SceFontHandle |
struct SceFontNewLibParams |
struct SceFontGlyphImage |
struct SceFontStyle |
struct SceFontCharInfo |
struct SceFontInfo |
Data Fields | ||
---|---|---|
unsigned int | maxGlyphWidthI | |
unsigned int | maxGlyphHeightI | |
unsigned int | maxGlyphAscenderI | |
unsigned int | maxGlyphDescenderI | |
unsigned int | maxGlyphLeftXI | |
unsigned int | maxGlyphBaseYI | |
unsigned int | minGlyphCenterXI | |
unsigned int | maxGlyphTopYI | |
unsigned int | maxGlyphAdvanceXI | |
unsigned int | maxGlyphAdvanceYI | |
float | maxGlyphWidthF | |
float | maxGlyphHeightF | |
float | maxGlyphAscenderF | |
float | maxGlyphDescenderF | |
float | maxGlyphLeftXF | |
float | maxGlyphBaseYF | |
float | minGlyphCenterXF | |
float | maxGlyphTopYF | |
float | maxGlyphAdvanceXF | |
float | maxGlyphAdvanceYF | |
short | maxGlyphWidth | |
short | maxGlyphHeight | |
unsigned int | charMapLength | Number of elements in the font's charmap. |
unsigned int | shadowMapLength | Number of elements in the font's shadow charmap. |
SceFontStyle | fontStyle | |
uint8_t | BPP | Font's BPP. |
uint8_t | pad[3] |
typedef void* SceFontLibHandle |
typedef void* SceFontHandle |
enum SceFontErrorCode |
enum SceFontFamilyCode |
enum SceFontStyleCode |
enum SceFontLanguageCode |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
SceFontLibHandle | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x2C | , |
SceFontNewLibParams | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
SceFontImageRect | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x18 | , |
SceFontGlyphImage | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0xA8 | , |
SceFontStyle | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x3C | , |
SceFontCharInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x108 | , |
SceFontInfo | |||
) |
SceFontLibHandle sceFontNewLib | ( | SceFontNewLibParams * | params, |
unsigned int * | errorCode | ||
) |
int sceFontDoneLib | ( | SceFontLibHandle | libHandle | ) |
SceFontHandle sceFontOpen | ( | SceFontLibHandle | libHandle, |
int | index, | ||
int | mode, | ||
unsigned int * | errorCode | ||
) |
SceFontHandle sceFontOpenUserMemory | ( | SceFontLibHandle | libHandle, |
void * | pMemoryFont, | ||
SceSize | pMemoryFontSize, | ||
unsigned int * | errorCode | ||
) |
SceFontHandle sceFontOpenUserFile | ( | SceFontLibHandle | libHandle, |
char * | file, | ||
int | mode, | ||
unsigned int * | errorCode | ||
) |
int sceFontClose | ( | SceFontHandle | fontHandle | ) |
int sceFontGetNumFontList | ( | SceFontLibHandle | libHandle, |
unsigned int * | errorCode | ||
) |
int sceFontFindOptimumFont | ( | SceFontLibHandle | libHandle, |
SceFontStyle * | fontStyle, | ||
unsigned int * | errorCode | ||
) |
int sceFontFindFont | ( | SceFontLibHandle | libHandle, |
SceFontStyle * | fontStyle, | ||
unsigned int * | errorCode | ||
) |
int sceFontGetFontInfo | ( | SceFontHandle | fontHandle, |
SceFontInfo * | fontInfo | ||
) |
int sceFontGetFontInfoByIndexNumber | ( | SceFontLibHandle | libHandle, |
SceFontStyle * | fontStyle, | ||
int | unknown, | ||
int | fontIndex | ||
) |
int sceFontSetResolution | ( | SceFontLibHandle | libHandle, |
float | hRes, | ||
float | vRes | ||
) |
int sceFontGetFontList | ( | SceFontLibHandle | libHandle, |
SceFontStyle * | fontStyle, | ||
int | numFonts | ||
) |
int sceFontGetCharInfo | ( | SceFontHandle | fontHandle, |
unsigned int | charCode, | ||
SceFontCharInfo * | charInfo | ||
) |
int sceFontGetCharImageRect | ( | SceFontHandle | fontHandle, |
unsigned int | charCode, | ||
SceFontImageRect * | charRect | ||
) |
int sceFontGetCharGlyphImage | ( | SceFontHandle | fontHandle, |
unsigned int | charCode, | ||
SceFontGlyphImage * | glyphImage | ||
) |
int sceFontGetCharGlyphImage_Clip | ( | SceFontHandle | fontHandle, |
unsigned int | charCode, | ||
SceFontGlyphImage * | glyphImage, | ||
int | clipXPos, | ||
int | clipYPos, | ||
int | clipWidth, | ||
int | clipHeight | ||
) |
float sceFontPixelToPointH | ( | SceFontLibHandle | libHandle, |
float | fontPixelsH, | ||
unsigned int * | errorCode | ||
) |
float sceFontPixelToPointV | ( | SceFontLibHandle | libHandle, |
float | fontPixelsV, | ||
unsigned int * | errorCode | ||
) |
float sceFontPointToPixelH | ( | SceFontLibHandle | libHandle, |
float | fontPointsH, | ||
unsigned int * | errorCode | ||
) |
float sceFontPointToPixelV | ( | SceFontLibHandle | libHandle, |
float | fontPointsV, | ||
unsigned int * | errorCode | ||
) |
int sceFontSetAltCharacterCode | ( | SceFontLibHandle | libHandle, |
unsigned int | charCode | ||
) |
int sceFontFlush | ( | SceFontHandle | fontHandle | ) |