![]() |
vitasdk
Documentation of the vitasdk
|
Exports for User. More...
Data Structures | |
| struct | ScePvfIrect |
| struct | ScePvfRect |
| struct | ScePvfCacheSystemInterface |
| struct | ScePvfInitRec |
| struct | ScePvfFontStyleInfo |
| struct | ScePvfUserImageBufferRec |
| struct | ScePvfIGlyphMetricsInfo |
| struct | ScePvfCharInfo |
| struct | ScePvfFGlyphMetricsInfo |
| struct | ScePvfFontInfo |
| struct | ScePvfIKerningInfo |
| struct | ScePvfFKerningInfo |
| struct | ScePvfKerningInfo |
| struct | ScePvfCacheKey |
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 |
Exports for User.
Include the header file in your project:
Link the library to the executable:
| 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 | ||
| ) |
| ScePvfU16 ScePvfIrect::width |
| ScePvfU16 ScePvfIrect::height |
| ScePvfU32 ScePvfRect::width |
| ScePvfU32 ScePvfRect::height |
| ScePvfPointer* ScePvfCacheSystemInterface::cacheInstance |
| ScePvfFontCacheLockFunc ScePvfCacheSystemInterface::lockFunc |
| ScePvfFontChcheUnlockFunc ScePvfCacheSystemInterface::unlockFunc |
| ScePvfFontChcheFindFunc ScePvfCacheSystemInterface::findFunc |
| ScePvfFontChcheWriteKeyValueToCacheFunc ScePvfCacheSystemInterface::writeKeyValueToCacheFunc |
| ScePvfFontChcheWriteToCacheFunc ScePvfCacheSystemInterface::write0ToCacheFunc |
| ScePvfFontChcheWriteToCacheFunc ScePvfCacheSystemInterface::write1ToCacheFunc |
| ScePvfFontChcheReadFromCacheFunc ScePvfCacheSystemInterface::read0FromCacheFunc |
| ScePvfFontChcheReadFromCacheFunc ScePvfCacheSystemInterface::read1FromCacheFunc |
| ScePvfPointer ScePvfInitRec::userData |
| ScePvfU32 ScePvfInitRec::maxNumFonts |
| ScePvfCacheSystemInterface* ScePvfInitRec::cache |
| ScePvfPointer ScePvfInitRec::reserved |
| ScePvfAllocFunc ScePvfInitRec::allocFunc |
| ScePvfReallocFunc ScePvfInitRec::reallocFunc |
| ScePvfFreeFunc ScePvfInitRec::freeFunc |
| ScePvfFloat32 ScePvfFontStyleInfo::weight |
| ScePvfU16 ScePvfFontStyleInfo::familyCode |
| ScePvfU16 ScePvfFontStyleInfo::style |
| ScePvfU16 ScePvfFontStyleInfo::subStyle |
| ScePvfU16 ScePvfFontStyleInfo::languageCode |
| ScePvfU16 ScePvfFontStyleInfo::regionCode |
| ScePvfU16 ScePvfFontStyleInfo::countryCode |
| ScePvfU8 ScePvfFontStyleInfo::fontName[SCE_PVF_FONTNAME_LENGTH] |
| ScePvfU8 ScePvfFontStyleInfo::styleName[SCE_PVF_STYLENAME_LENGTH] |
| ScePvfU8 ScePvfFontStyleInfo::fileName[SCE_PVF_FONTFILENAME_LENGTH] |
| ScePvfU32 ScePvfFontStyleInfo::extraAttributes |
| ScePvfU32 ScePvfFontStyleInfo::expireDate |
| ScePvfU32 ScePvfUserImageBufferRec::pixelFormat |
| ScePvfS32 ScePvfUserImageBufferRec::xPos64 |
| ScePvfS32 ScePvfUserImageBufferRec::yPos64 |
| ScePvfIrect ScePvfUserImageBufferRec::rect |
| ScePvfU16 ScePvfUserImageBufferRec::bytesPerLine |
| ScePvfU16 ScePvfUserImageBufferRec::reserved |
| ScePvfU8* ScePvfUserImageBufferRec::buffer |
| ScePvfU32 ScePvfIGlyphMetricsInfo::width64 |
| ScePvfU32 ScePvfIGlyphMetricsInfo::height64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::ascender64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::descender64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::horizontalBearingX64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::horizontalBearingY64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::verticalBearingX64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::verticalBearingY64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::horizontalAdvance64 |
| ScePvfS32 ScePvfIGlyphMetricsInfo::verticalAdvance64 |
| ScePvfU32 ScePvfCharInfo::bitmapWidth |
| ScePvfU32 ScePvfCharInfo::bitmapHeight |
| ScePvfU32 ScePvfCharInfo::bitmapPitch |
| ScePvfS32 ScePvfCharInfo::bitmapLeft |
| ScePvfS32 ScePvfCharInfo::bitmapTop |
| ScePvfIGlyphMetricsInfo ScePvfCharInfo::glyphMetrics |
| ScePvfU8 ScePvfCharInfo::reserved0[2] |
| ScePvfU16 ScePvfCharInfo::reserved1 |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::width |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::height |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::ascender |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::descender |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::horizontalBearingX |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::horizontalBearingY |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::verticalBearingX |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::verticalBearingY |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::horizontalAdvance |
| ScePvfFloat32 ScePvfFGlyphMetricsInfo::verticalAdvance |
| ScePvfIGlyphMetricsInfo ScePvfFontInfo::maxIGlyphMetrics |
| ScePvfFGlyphMetricsInfo ScePvfFontInfo::maxFGlyphMetrics |
| ScePvfU32 ScePvfFontInfo::numChars |
| ScePvfFontStyleInfo ScePvfFontInfo::fontStyleInfo |
| ScePvfU8 ScePvfFontInfo::reserved[4] |
| ScePvfS32 ScePvfIKerningInfo::xOffset64 |
| ScePvfS32 ScePvfIKerningInfo::yOffset64 |
| ScePvfFloat32 ScePvfFKerningInfo::xOffset |
| ScePvfFloat32 ScePvfFKerningInfo::yOffset |
| ScePvfIKerningInfo ScePvfKerningInfo::iKerningInfo |
| ScePvfFKerningInfo ScePvfKerningInfo::fKerningInfo |
| int ScePvfCacheKey::keyValue0 |
| int ScePvfCacheKey::keyValue1 |
| float ScePvfCacheKey::keyValue2 |
| float ScePvfCacheKey::keyValue3 |
| float ScePvfCacheKey::keyValue4 |
| float ScePvfCacheKey::keyValue5 |
| float ScePvfCacheKey::keyValue6 |
| float ScePvfCacheKey::keyValue7 |
| float ScePvfCacheKey::keyValue8 |