vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Macros | |
#define | SCE_PVF_MAX_OPEN 18 |
#define | SCE_PVF_FONTNAME_LENGTH 64 |
#define | SCE_PVF_STYLENAME_LENGTH 64 |
#define | SCE_PVF_FONTFILENAME_LENGTH 64 |
#define | SCE_PVF_MIN_EMBOLDEN_RATE -20.0f |
#define | SCE_PVF_MAX_EMBOLDEN_RATE 40.0f |
#define | SCE_PVF_MIN_SKEW_VALUE -30.0f |
#define | SCE_PVF_MAX_SKEW_VALUE 30.0f |
#define | scePvfGetCharGlyphImageClip scePvfGetCharGlyphImage_Clip |
struct ScePvfCacheSystemInterface |
Data Fields | ||
---|---|---|
ScePvfPointer * | cacheInstance | |
ScePvfFontCacheLockFunc | lockFunc | |
ScePvfFontChcheUnlockFunc | unlockFunc | |
ScePvfFontChcheFindFunc | findFunc | |
ScePvfFontChcheWriteKeyValueToCacheFunc | writeKeyValueToCacheFunc | |
ScePvfFontChcheWriteToCacheFunc | write0ToCacheFunc | |
ScePvfFontChcheWriteToCacheFunc | write1ToCacheFunc | |
ScePvfFontChcheReadFromCacheFunc | read0FromCacheFunc | |
ScePvfFontChcheReadFromCacheFunc | read1FromCacheFunc |
struct ScePvfInitRec |
Data Fields | ||
---|---|---|
ScePvfPointer | userData | |
ScePvfU32 | maxNumFonts | |
ScePvfCacheSystemInterface * | cache | |
ScePvfPointer | reserved | |
ScePvfAllocFunc | allocFunc | |
ScePvfReallocFunc | reallocFunc | |
ScePvfFreeFunc | freeFunc |
struct ScePvfFontStyleInfo |
Data Fields | ||
---|---|---|
ScePvfFloat32 | weight | |
ScePvfU16 | familyCode | |
ScePvfU16 | style | |
ScePvfU16 | subStyle | |
ScePvfU16 | languageCode | |
ScePvfU16 | regionCode | |
ScePvfU16 | countryCode | |
ScePvfU8 | fontName[SCE_PVF_FONTNAME_LENGTH] | |
ScePvfU8 | styleName[SCE_PVF_STYLENAME_LENGTH] | |
ScePvfU8 | fileName[SCE_PVF_FONTFILENAME_LENGTH] | |
ScePvfU32 | extraAttributes | |
ScePvfU32 | expireDate |
struct ScePvfUserImageBufferRec |
struct ScePvfIGlyphMetricsInfo |
struct ScePvfCharInfo |
struct ScePvfFGlyphMetricsInfo |
Data Fields | ||
---|---|---|
ScePvfFloat32 | width | |
ScePvfFloat32 | height | |
ScePvfFloat32 | ascender | |
ScePvfFloat32 | descender | |
ScePvfFloat32 | horizontalBearingX | |
ScePvfFloat32 | horizontalBearingY | |
ScePvfFloat32 | verticalBearingX | |
ScePvfFloat32 | verticalBearingY | |
ScePvfFloat32 | horizontalAdvance | |
ScePvfFloat32 | verticalAdvance |
struct ScePvfFontInfo |
Data Fields | ||
---|---|---|
ScePvfIGlyphMetricsInfo | maxIGlyphMetrics | |
ScePvfFGlyphMetricsInfo | maxFGlyphMetrics | |
ScePvfU32 | numChars | |
ScePvfFontStyleInfo | fontStyleInfo | |
ScePvfU8 | reserved[4] |
struct ScePvfFKerningInfo |
Data Fields | ||
---|---|---|
ScePvfFloat32 | xOffset | |
ScePvfFloat32 | yOffset |
struct ScePvfKerningInfo |
Data Fields | ||
---|---|---|
ScePvfIKerningInfo | iKerningInfo | |
ScePvfFKerningInfo | fKerningInfo |
struct ScePvfCacheKey |
#define SCE_PVF_MAX_OPEN 18 |
#define SCE_PVF_FONTNAME_LENGTH 64 |
#define SCE_PVF_STYLENAME_LENGTH 64 |
#define SCE_PVF_FONTFILENAME_LENGTH 64 |
#define SCE_PVF_MIN_EMBOLDEN_RATE -20.0f |
#define SCE_PVF_MAX_EMBOLDEN_RATE 40.0f |
#define SCE_PVF_MIN_SKEW_VALUE -30.0f |
#define SCE_PVF_MAX_SKEW_VALUE 30.0f |
#define scePvfGetCharGlyphImageClip scePvfGetCharGlyphImage_Clip |
typedef unsigned int ScePvfU32 |
typedef signed int ScePvfS32 |
typedef unsigned short ScePvfU16 |
typedef unsigned char ScePvfU8 |
typedef float ScePvfFloat32 |
typedef ScePvfU32 ScePvfBool |
typedef void* ScePvfLibId |
typedef void* ScePvfFontId |
typedef void* ScePvfPointer |
typedef void* ScePvfHandle |
typedef ScePvfS32 ScePvfError |
typedef ScePvfU16 ScePvfCharCode |
typedef ScePvfS32 ScePvfFontIndex |
typedef ScePvfS32(* ScePvfFontCacheLockFunc) (ScePvfPointer cacheInstance) |
typedef ScePvfS32(* ScePvfFontChcheUnlockFunc) (ScePvfPointer cacheInstance) |
typedef ScePvfPointer(* ScePvfFontChcheFindFunc) (ScePvfPointer chcheInstance, ScePvfU32 hashValue, ScePvfPointer key, ScePvfBool *result) |
typedef ScePvfS32(* ScePvfFontChcheWriteKeyValueToCacheFunc) (ScePvfPointer cacheInstance, ScePvfPointer chcheSlot, ScePvfPointer key) |
typedef ScePvfS32(* ScePvfFontChcheWriteToCacheFunc) (ScePvfPointer cacheInstance, ScePvfPointer cacheSlot, ScePvfPointer data0, ScePvfInt size) |
typedef ScePvfS32(* ScePvfFontChcheReadFromCacheFunc) (ScePvfPointer cacheInstance, ScePvfPointer cacheSlot, ScePvfPointer data0) |
typedef ScePvfPointer(* ScePvfAllocFunc) (ScePvfPointer userData, ScePvfU32 size) |
typedef ScePvfPointer(* ScePvfReallocFunc) (ScePvfPointer userData, ScePvfPointer old_ptr, ScePvfU32 size) |
typedef void(* ScePvfFreeFunc) (ScePvfPointer userData, ScePvfPointer ptr) |
enum ScePvfErrorCode |
enum ScePvfFamilyCode |
enum ScePvfStyleCode |
enum ScePvfLanguageCode |
enum ScePvfRegionCode |
enum ScePvfBoolValue |
enum ScePvfSubstyle |
enum ScePvfDataAccessMode |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePvfU32 | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePvfS32 | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 2 | , |
ScePvfU16 | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 1 | , |
ScePvfU8 | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePvfFloat32 | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePvfLibId | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePvfIrect | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
ScePvfRect | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x24 | , |
ScePvfCacheSystemInterface | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x1C | , |
ScePvfInitRec | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0xD8 | , |
ScePvfFontStyleInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x18 | , |
ScePvfUserImageBufferRec | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x28 | , |
ScePvfIGlyphMetricsInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x40 | , |
ScePvfCharInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x28 | , |
ScePvfFGlyphMetricsInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x130 | , |
ScePvfFontInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
ScePvfIKerningInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
ScePvfFKerningInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
ScePvfKerningInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x24 | , |
ScePvfCacheKey | |||
) |
ScePvfLibId scePvfNewLib | ( | ScePvfInitRec * | initParam, |
ScePvfError * | errorCode | ||
) |
ScePvfError scePvfDoneLib | ( | ScePvfLibId | libID | ) |
ScePvfError scePvfSetEM | ( | ScePvfLibId | libID, |
ScePvfFloat32 | emValue | ||
) |
ScePvfError scePvfSetResolution | ( | ScePvfLibId | libID, |
ScePvfFloat32 | hResolution, | ||
ScePvfFloat32 | vResolution | ||
) |
ScePvfInt scePvfGetNumFontList | ( | ScePvfLibId | libID, |
ScePvfError * | errorCode | ||
) |
ScePvfError scePvfGetFontList | ( | ScePvfLibId | libID, |
ScePvfFontStyleInfo * | fontStyleInfo, | ||
ScePvfInt | arraySize | ||
) |
ScePvfFontIndex scePvfFindOptimumFont | ( | ScePvfLibId | libID, |
ScePvfFontStyleInfo * | fontStyleInfo, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFontIndex scePvfFindFont | ( | ScePvfLibId | libID, |
ScePvfFontStyleInfo * | fontStyleInfo, | ||
ScePvfError * | errorCode | ||
) |
ScePvfError scePvfGetFontInfoByIndexNumber | ( | ScePvfLibId | libID, |
ScePvfFontStyleInfo * | fontStyleInfo, | ||
ScePvfFontIndex | fontIndex | ||
) |
ScePvfFontId scePvfOpen | ( | ScePvfLibId | libID, |
ScePvfFontIndex | fontIndex, | ||
ScePvfU32 | mode, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFontId scePvfOpenUserFile | ( | ScePvfLibId | libID, |
ScePvfPointer | filename, | ||
ScePvfU32 | mode, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFontId scePvfOpenUserFileWithSubfontIndex | ( | ScePvfLibId | libID, |
ScePvfPointer | filename, | ||
ScePvfU32 | mode, | ||
ScePvfU32 | subFontIndex, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFontId scePvfOpenUserMemory | ( | ScePvfLibId | libID, |
ScePvfPointer | addr, | ||
ScePvfU32 | size, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFontId scePvfOpenUserMemoryWithSubfontIndex | ( | ScePvfLibId | libID, |
ScePvfPointer | addr, | ||
ScePvfU32 | size, | ||
ScePvfU32 | subFontIndex, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFontId scePvfOpenDefaultJapaneseFontOnSharedMemory | ( | ScePvfLibId | libID, |
ScePvfError * | errorCode | ||
) |
ScePvfFontId scePvfOpenDefaultLatinFontOnSharedMemory | ( | ScePvfLibId | libID, |
ScePvfError * | errorCode | ||
) |
ScePvfError scePvfClose | ( | ScePvfFontId | fontID | ) |
ScePvfError scePvfFlush | ( | ScePvfFontId | fontID | ) |
ScePvfError scePvfSetCharSize | ( | ScePvfFontId | fontID, |
ScePvfFloat32 | hSize, | ||
ScePvfFloat32 | vSize | ||
) |
ScePvfError scePvfSetEmboldenRate | ( | ScePvfFontId | fontID, |
ScePvfFloat32 | emboldenRate | ||
) |
ScePvfError scePvfSetSkewValue | ( | ScePvfFontId | fontID, |
ScePvfFloat32 | angleX, | ||
ScePvfFloat32 | angleY | ||
) |
ScePvfBool scePvfIsElement | ( | ScePvfFontId | fontID, |
ScePvfCharCode | charCode | ||
) |
ScePvfError scePvfGetFontInfo | ( | ScePvfFontId | fontID, |
ScePvfFontInfo * | fontInfo | ||
) |
ScePvfError scePvfGetCharInfo | ( | ScePvfFontId | fontID, |
ScePvfCharCode | charCode, | ||
ScePvfCharInfo * | charInfo | ||
) |
ScePvfError scePvfGetKerningInfo | ( | ScePvfFontId | fontID, |
ScePvfCharCode | leftCharCode, | ||
ScePvfCharCode | rightCharCode, | ||
ScePvfKerningInfo * | pKerningInfo | ||
) |
ScePvfError scePvfGetCharImageRect | ( | ScePvfFontId | fontID, |
ScePvfCharCode | charCode, | ||
ScePvfIrect * | rect | ||
) |
ScePvfError scePvfGetCharGlyphImage | ( | ScePvfFontId | fontID, |
ScePvfCharCode | charCode, | ||
ScePvfUserImageBufferRec * | imageBuffer | ||
) |
ScePvfError scePvfGetCharGlyphImage_Clip | ( | ScePvfFontId | fontID, |
ScePvfCharCode | charCode, | ||
ScePvfUserImageBufferRec * | imageBuffer, | ||
ScePvfS32 | clipX, | ||
ScePvfS32 | clipY, | ||
ScePvfU32 | clipWidth, | ||
ScePvfU32 | clipHeight | ||
) |
ScePvfFloat32 scePvfPixelToPointH | ( | ScePvfLibId | libID, |
ScePvfFloat32 | pixel, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFloat32 scePvfPixelToPointV | ( | ScePvfLibId | libID, |
ScePvfFloat32 | pixel, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFloat32 scePvfPointToPixelH | ( | ScePvfLibId | libID, |
ScePvfFloat32 | point, | ||
ScePvfError * | errorCode | ||
) |
ScePvfFloat32 scePvfPointToPixelV | ( | ScePvfLibId | libID, |
ScePvfFloat32 | point, | ||
ScePvfError * | errorCode | ||
) |
ScePvfError scePvfSetAltCharacterCode | ( | ScePvfLibId | libID, |
ScePvfCharCode | charCode | ||
) |