类 JImGuiFontAtlasGen
java.lang.Object
org.ice1000.jimgui.JImGuiFontAtlasGen
- 直接已知子类:
JImFontAtlas
- 从以下版本开始:
- v0.1
-
字段概要
字段 -
方法概要
修饰符和类型方法说明protected static voidaddCustomRectFontGlyph(long font, short id, int width, int height, float advanceX, float offsetX, float offsetY, long nativeObjectPtr)voidaddCustomRectFontGlyph(@NotNull JImFont font, short id, int width, int height, float advanceX)voidaddCustomRectFontGlyph(@NotNull JImFont font, short id, int width, int height, float advanceX, float offsetX, float offsetY)protected voidaddCustomRectFontGlyph(@NotNull JImFont font, short id, int width, int height, float advanceX, float offsetX, float offsetY, long nativeObjectPtr)voidaddCustomRectRegular(int width, int height)protected static longaddFont(long fontConfig, long nativeObjectPtr)longaddFont(@NotNull JImFontConfig fontConfig)protected longaddFont(@NotNull JImFontConfig fontConfig, long nativeObjectPtr)longprotected static longaddFontDefault(long fontConfig, long nativeObjectPtr)longaddFontDefault(@NotNull JImFontConfig fontConfig)protected longaddFontDefault(@NotNull JImFontConfig fontConfig, long nativeObjectPtr)protected static longaddFontFromMemoryCompressedBase85TTF(byte[] compressedFontDataBase85, float sizePixels, long nativeObjectPtr)longaddFontFromMemoryCompressedBase85TTF(@NotNull String compressedFontDataBase85, float sizePixels)protected longaddFontFromMemoryCompressedBase85TTF(@NotNull String compressedFontDataBase85, float sizePixels, long nativeObjectPtr)longaddFontFromMemoryCompressedBase85TTF(@NotNull JImStr compressedFontDataBase85, float sizePixels)longaddFontFromMemoryCompressedBase85TTF(@NotNull JImStr compressedFontDataBase85, float sizePixels, long nativeObjectPtr)booleanbuild()voidclear()voidvoidvoidintgetFlags()protected static intgetFlags(long nativeObjectPtr)longprotected static longgetGlyphRangesChineseFull(long nativeObjectPtr)longprotected static longgetGlyphRangesChineseSimplifiedCommon(long nativeObjectPtr)longprotected static longgetGlyphRangesCyrillic(long nativeObjectPtr)longprotected static longgetGlyphRangesDefault(long nativeObjectPtr)longprotected static longgetGlyphRangesJapanese(long nativeObjectPtr)longprotected static longgetGlyphRangesKorean(long nativeObjectPtr)longprotected static longgetGlyphRangesThai(long nativeObjectPtr)longprotected static longgetGlyphRangesVietnamese(long nativeObjectPtr)intprotected static intgetTexDesiredWidth(long nativeObjectPtr)intprotected static intgetTexGlyphPadding(long nativeObjectPtr)intprotected static intgetTexHeight(long nativeObjectPtr)floatfloatfloatfloatintprotected static intgetTexWidth(long nativeObjectPtr)booleanisBuilt()voidsetFlags(int newValue)protected static voidsetFlags(long nativeObjectPtr, int newValue)voidsetTexDesiredWidth(int newValue)protected static voidsetTexDesiredWidth(long nativeObjectPtr, int newValue)voidsetTexGlyphPadding(int newValue)protected static voidsetTexGlyphPadding(long nativeObjectPtr, int newValue)voidsetTexHeight(int newValue)protected static voidsetTexHeight(long nativeObjectPtr, int newValue)protected static voidsetTexID(long id, long nativeObjectPtr)voidsetTexID(@NotNull JImTextureID id)voidsetTexUvScaleX(float newValue)voidsetTexUvScaleY(float newValue)voidsetTexUvWhitePixelX(float newValue)voidsetTexUvWhitePixelY(float newValue)voidsetTexWidth(int newValue)protected static voidsetTexWidth(long nativeObjectPtr, int newValue)
-
字段详细资料
-
nativeObjectPtr
protected long nativeObjectPtr
-
-
方法详细资料
-
setTexUvScaleX
public void setTexUvScaleX(float newValue) -
getTexUvScaleX
public float getTexUvScaleX() -
setTexUvScaleY
public void setTexUvScaleY(float newValue) -
getTexUvScaleY
public float getTexUvScaleY() -
setTexUvWhitePixelX
public void setTexUvWhitePixelX(float newValue) -
getTexUvWhitePixelX
public float getTexUvWhitePixelX() -
setTexUvWhitePixelY
public void setTexUvWhitePixelY(float newValue) -
getTexUvWhitePixelY
public float getTexUvWhitePixelY() -
getFlags
public int getFlags() -
getFlags
protected static int getFlags(long nativeObjectPtr) -
setFlags
public void setFlags(int newValue) -
setFlags
protected static void setFlags(long nativeObjectPtr, int newValue) -
getTexWidth
public int getTexWidth() -
getTexWidth
protected static int getTexWidth(long nativeObjectPtr) -
setTexWidth
public void setTexWidth(int newValue) -
setTexWidth
protected static void setTexWidth(long nativeObjectPtr, int newValue) -
getTexHeight
public int getTexHeight() -
getTexHeight
protected static int getTexHeight(long nativeObjectPtr) -
setTexHeight
public void setTexHeight(int newValue) -
setTexHeight
protected static void setTexHeight(long nativeObjectPtr, int newValue) -
getTexDesiredWidth
public int getTexDesiredWidth() -
getTexDesiredWidth
protected static int getTexDesiredWidth(long nativeObjectPtr) -
setTexDesiredWidth
public void setTexDesiredWidth(int newValue) -
setTexDesiredWidth
protected static void setTexDesiredWidth(long nativeObjectPtr, int newValue) -
getTexGlyphPadding
public int getTexGlyphPadding() -
getTexGlyphPadding
protected static int getTexGlyphPadding(long nativeObjectPtr) -
setTexGlyphPadding
public void setTexGlyphPadding(int newValue) -
setTexGlyphPadding
protected static void setTexGlyphPadding(long nativeObjectPtr, int newValue) -
addFont
-
addFont
protected static long addFont(long fontConfig, long nativeObjectPtr) -
addFont
-
addFontDefault
protected final long addFontDefault(@NotNull @NotNull JImFontConfig fontConfig, long nativeObjectPtr) -
addFontDefault
protected static long addFontDefault(long fontConfig, long nativeObjectPtr) -
addFontDefault
-
addFontDefault
public final long addFontDefault() -
addFontFromMemoryCompressedBase85TTF
protected final long addFontFromMemoryCompressedBase85TTF(@NotNull @NotNull String compressedFontDataBase85, float sizePixels, long nativeObjectPtr) -
addFontFromMemoryCompressedBase85TTF
public final long addFontFromMemoryCompressedBase85TTF(@NotNull @NotNull JImStr compressedFontDataBase85, float sizePixels, long nativeObjectPtr) -
addFontFromMemoryCompressedBase85TTF
protected static long addFontFromMemoryCompressedBase85TTF(byte[] compressedFontDataBase85, float sizePixels, long nativeObjectPtr) -
addFontFromMemoryCompressedBase85TTF
public final long addFontFromMemoryCompressedBase85TTF(@NotNull @NotNull String compressedFontDataBase85, float sizePixels) -
addFontFromMemoryCompressedBase85TTF
public final long addFontFromMemoryCompressedBase85TTF(@NotNull @NotNull JImStr compressedFontDataBase85, float sizePixels) -
build
public final boolean build() -
isBuilt
public final boolean isBuilt() -
clearInputData
public final void clearInputData() -
clearTexData
public final void clearTexData() -
clearFonts
public final void clearFonts() -
clear
public final void clear() -
setTexID
protected static void setTexID(long id, long nativeObjectPtr) -
setTexID
-
getGlyphRangesDefault
protected static long getGlyphRangesDefault(long nativeObjectPtr) -
getGlyphRangesDefault
public final long getGlyphRangesDefault() -
getGlyphRangesKorean
protected static long getGlyphRangesKorean(long nativeObjectPtr) -
getGlyphRangesKorean
public final long getGlyphRangesKorean() -
getGlyphRangesJapanese
protected static long getGlyphRangesJapanese(long nativeObjectPtr) -
getGlyphRangesJapanese
public final long getGlyphRangesJapanese() -
getGlyphRangesChineseFull
protected static long getGlyphRangesChineseFull(long nativeObjectPtr) -
getGlyphRangesChineseFull
public final long getGlyphRangesChineseFull() -
getGlyphRangesChineseSimplifiedCommon
protected static long getGlyphRangesChineseSimplifiedCommon(long nativeObjectPtr) -
getGlyphRangesChineseSimplifiedCommon
public final long getGlyphRangesChineseSimplifiedCommon() -
getGlyphRangesCyrillic
protected static long getGlyphRangesCyrillic(long nativeObjectPtr) -
getGlyphRangesCyrillic
public final long getGlyphRangesCyrillic() -
getGlyphRangesVietnamese
protected static long getGlyphRangesVietnamese(long nativeObjectPtr) -
getGlyphRangesVietnamese
public final long getGlyphRangesVietnamese() -
getGlyphRangesThai
protected static long getGlyphRangesThai(long nativeObjectPtr) -
getGlyphRangesThai
public final long getGlyphRangesThai() -
addCustomRectRegular
public final void addCustomRectRegular(int width, int height) -
addCustomRectFontGlyph
protected final void addCustomRectFontGlyph(@NotNull @NotNull JImFont font, short id, int width, int height, float advanceX, float offsetX, float offsetY, long nativeObjectPtr) -
addCustomRectFontGlyph
protected static void addCustomRectFontGlyph(long font, short id, int width, int height, float advanceX, float offsetX, float offsetY, long nativeObjectPtr) -
addCustomRectFontGlyph
public final void addCustomRectFontGlyph(@NotNull @NotNull JImFont font, short id, int width, int height, float advanceX, float offsetX, float offsetY) -
addCustomRectFontGlyph
public final void addCustomRectFontGlyph(@NotNull @NotNull JImFont font, short id, int width, int height, float advanceX)
-