![]() |
vitasdk
Documentation of the vitasdk
|
Exports for User. More...
Data Structures | |
| struct | SceFontNewLibParams |
| struct | SceFontImageRect |
| struct | SceFontGlyphImage |
| struct | SceFontStyle |
| struct | SceFontCharInfo |
| struct | SceFontInfo |
Typedefs | |
| typedef void * | SceFontLibHandle |
| typedef void * | SceFontHandle |
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) |
Exports for User.
Include the header file in your project:
Link the library to the executable:
Load the required module:
| 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 | ) |
| void* SceFontNewLibParams::userData |
| unsigned int SceFontNewLibParams::numFonts |
| void* SceFontNewLibParams::cacheData |
| void *(* SceFontNewLibParams::allocFunc) (void *, unsigned int) |
| void(* SceFontNewLibParams::freeFunc) (void *, void *) |
| void* SceFontNewLibParams::openFunc |
| void* SceFontNewLibParams::closeFunc |
| void* SceFontNewLibParams::readFunc |
| void* SceFontNewLibParams::seekFunc |
| void* SceFontNewLibParams::errorFunc |
| void* SceFontNewLibParams::ioFinishFunc |
| unsigned short SceFontImageRect::width |
| unsigned short SceFontImageRect::height |
| unsigned int SceFontGlyphImage::pixelFormat |
| int SceFontGlyphImage::xPos64 |
| int SceFontGlyphImage::yPos64 |
| unsigned short SceFontGlyphImage::bufWidth |
| unsigned short SceFontGlyphImage::bufHeight |
| unsigned short SceFontGlyphImage::bytesPerLine |
| unsigned short SceFontGlyphImage::pad |
| unsigned int SceFontGlyphImage::bufferPtr |
| float SceFontStyle::fontH |
| float SceFontStyle::fontV |
| float SceFontStyle::fontHRes |
| float SceFontStyle::fontVRes |
| float SceFontStyle::fontWeight |
| unsigned short SceFontStyle::fontFamily |
| unsigned short SceFontStyle::fontStyle |
| unsigned short SceFontStyle::fontStyleSub |
| unsigned short SceFontStyle::fontLanguage |
| unsigned short SceFontStyle::fontRegion |
| unsigned short SceFontStyle::fontCountry |
| char SceFontStyle::fontName[64] |
| char SceFontStyle::fontFileName[64] |
| unsigned int SceFontStyle::fontAttributes |
| unsigned int SceFontStyle::fontExpire |
| unsigned int SceFontCharInfo::bitmapWidth |
| unsigned int SceFontCharInfo::bitmapHeight |
| unsigned int SceFontCharInfo::bitmapLeft |
| unsigned int SceFontCharInfo::bitmapTop |
| unsigned int SceFontCharInfo::sfp26Width |
| unsigned int SceFontCharInfo::sfp26Height |
| int SceFontCharInfo::sfp26Ascender |
| int SceFontCharInfo::sfp26Descender |
| int SceFontCharInfo::sfp26BearingHX |
| int SceFontCharInfo::sfp26BearingHY |
| int SceFontCharInfo::sfp26BearingVX |
| int SceFontCharInfo::sfp26BearingVY |
| int SceFontCharInfo::sfp26AdvanceH |
| int SceFontCharInfo::sfp26AdvanceV |
| short SceFontCharInfo::shadowFlags |
| short SceFontCharInfo::shadowId |
| unsigned int SceFontInfo::maxGlyphWidthI |
| unsigned int SceFontInfo::maxGlyphHeightI |
| unsigned int SceFontInfo::maxGlyphAscenderI |
| unsigned int SceFontInfo::maxGlyphDescenderI |
| unsigned int SceFontInfo::maxGlyphLeftXI |
| unsigned int SceFontInfo::maxGlyphBaseYI |
| unsigned int SceFontInfo::minGlyphCenterXI |
| unsigned int SceFontInfo::maxGlyphTopYI |
| unsigned int SceFontInfo::maxGlyphAdvanceXI |
| unsigned int SceFontInfo::maxGlyphAdvanceYI |
| float SceFontInfo::maxGlyphWidthF |
| float SceFontInfo::maxGlyphHeightF |
| float SceFontInfo::maxGlyphAscenderF |
| float SceFontInfo::maxGlyphDescenderF |
| float SceFontInfo::maxGlyphLeftXF |
| float SceFontInfo::maxGlyphBaseYF |
| float SceFontInfo::minGlyphCenterXF |
| float SceFontInfo::maxGlyphTopYF |
| float SceFontInfo::maxGlyphAdvanceXF |
| float SceFontInfo::maxGlyphAdvanceYF |
| short SceFontInfo::maxGlyphWidth |
| short SceFontInfo::maxGlyphHeight |
| unsigned int SceFontInfo::charMapLength |
Number of elements in the font's charmap.
| unsigned int SceFontInfo::shadowMapLength |
Number of elements in the font's shadow charmap.
| SceFontStyle SceFontInfo::fontStyle |
| uint8_t SceFontInfo::BPP |
Font's BPP.
| uint8_t SceFontInfo::pad[3] |