类 JImGuiFontGen
java.lang.Object
org.ice1000.jimgui.JImGuiFontGen
- 直接已知子类:
JImFont
- 从以下版本开始:
- v0.1
-
字段概要
字段 -
方法概要
修饰符和类型方法说明voidaddRemapChar(int dst, int src)voidaddRemapChar(int dst, int src, boolean overwriteDst)voidvoidfloatprotected static floatgetAscent(long nativeObjectPtr)shortprotected static shortgetConfigDataCount(long nativeObjectPtr)longfloatprotected static floatgetDescent(long nativeObjectPtr)floatprotected static floatgetFallbackAdvanceX(long nativeObjectPtr)floatprotected static floatgetFontSize(long nativeObjectPtr)static @NotNull JImFontgetInstance(@NotNull JImGui owner)intprotected static intgetMetricsTotalSurface(long nativeObjectPtr)floatgetScale()protected static floatgetScale(long nativeObjectPtr)voidgrowIndex(int newSize)booleanstatic booleanisDirtyLookupTables(long nativeObjectPtr)booleanisLoaded()protected static voidrenderChar(long drawList, float size, float posX, float posY, int u32Color, short c, long nativeObjectPtr)voidrenderChar(@NotNull JImDrawList drawList, float size, float posX, float posY, int u32Color, short c)voidsetAscent(float newValue)protected static voidsetAscent(long nativeObjectPtr, float newValue)protected static voidsetConfigDataCount(long nativeObjectPtr, short newValue)voidsetConfigDataCount(short newValue)voidsetDescent(float newValue)protected static voidsetDescent(long nativeObjectPtr, float newValue)voidsetDirtyLookupTables(boolean newValue)static voidsetDirtyLookupTables(long nativeObjectPtr, boolean newValue)voidsetFallbackAdvanceX(float newValue)protected static voidsetFallbackAdvanceX(long nativeObjectPtr, float newValue)voidsetFallbackChar(int wChar)voidsetFontSize(float newValue)protected static voidsetFontSize(long nativeObjectPtr, float newValue)voidsetMetricsTotalSurface(int newValue)protected static voidsetMetricsTotalSurface(long nativeObjectPtr, int newValue)voidsetScale(float newValue)protected static voidsetScale(long nativeObjectPtr, float newValue)
-
字段详细资料
-
nativeObjectPtr
protected long nativeObjectPtrpackage-private by design
-
-
方法详细资料
-
getInstance
-
getFontSize
public float getFontSize() -
getFontSize
protected static float getFontSize(long nativeObjectPtr) -
setFontSize
public void setFontSize(float newValue) -
setFontSize
protected static void setFontSize(long nativeObjectPtr, float newValue) -
getScale
public float getScale() -
getScale
protected static float getScale(long nativeObjectPtr) -
setScale
public void setScale(float newValue) -
setScale
protected static void setScale(long nativeObjectPtr, float newValue) -
getFallbackAdvanceX
public float getFallbackAdvanceX() -
getFallbackAdvanceX
protected static float getFallbackAdvanceX(long nativeObjectPtr) -
setFallbackAdvanceX
public void setFallbackAdvanceX(float newValue) -
setFallbackAdvanceX
protected static void setFallbackAdvanceX(long nativeObjectPtr, float newValue) -
getConfigDataCount
public short getConfigDataCount() -
getConfigDataCount
protected static short getConfigDataCount(long nativeObjectPtr) -
setConfigDataCount
public void setConfigDataCount(short newValue) -
setConfigDataCount
protected static void setConfigDataCount(long nativeObjectPtr, short newValue) -
getAscent
public float getAscent() -
getAscent
protected static float getAscent(long nativeObjectPtr) -
setAscent
public void setAscent(float newValue) -
setAscent
protected static void setAscent(long nativeObjectPtr, float newValue) -
getDescent
public float getDescent() -
getDescent
protected static float getDescent(long nativeObjectPtr) -
setDescent
public void setDescent(float newValue) -
setDescent
protected static void setDescent(long nativeObjectPtr, float newValue) -
getMetricsTotalSurface
public int getMetricsTotalSurface() -
getMetricsTotalSurface
protected static int getMetricsTotalSurface(long nativeObjectPtr) -
setMetricsTotalSurface
public void setMetricsTotalSurface(int newValue) -
setMetricsTotalSurface
protected static void setMetricsTotalSurface(long nativeObjectPtr, int newValue) -
isDirtyLookupTables
public boolean isDirtyLookupTables() -
isDirtyLookupTables
public static boolean isDirtyLookupTables(long nativeObjectPtr) -
setDirtyLookupTables
public void setDirtyLookupTables(boolean newValue) -
setDirtyLookupTables
public static void setDirtyLookupTables(long nativeObjectPtr, boolean newValue) -
clearOutputData
public final void clearOutputData() -
setFallbackChar
public final void setFallbackChar(int wChar) -
isLoaded
public final boolean isLoaded() -
getDebugName
public final long getDebugName() -
growIndex
public final void growIndex(int newSize) -
addRemapChar
public final void addRemapChar(int dst, int src, boolean overwriteDst) -
addRemapChar
public final void addRemapChar(int dst, int src) -
buildLookupTable
public final void buildLookupTable() -
renderChar
protected static void renderChar(long drawList, float size, float posX, float posY, int u32Color, short c, long nativeObjectPtr) -
renderChar
public final void renderChar(@NotNull @NotNull JImDrawList drawList, float size, float posX, float posY, int u32Color, short c)
-