C# 클래스 ImGuiNET.FontConfig

파일 보기 프로젝트 열기: mellinoe/ImGui.NET 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DstFont System.IntPtr
FontData System.IntPtr
FontDataOwnedByAtlas bool
FontDataSize int
FontNo int
GlyphExtraSpacing Vector2
GlyphRanges char*
MergeGlyphCenterV bool
MergeMode bool
OversampleH int
OversampleV int
PixelSnapH bool
SizePixels float

프로퍼티 상세

DstFont 공개적으로 프로퍼티

[Internal Use Only]
public IntPtr,System DstFont
리턴 System.IntPtr

FontData 공개적으로 프로퍼티

TTF data
public IntPtr,System FontData
리턴 System.IntPtr

FontDataOwnedByAtlas 공개적으로 프로퍼티

TTF data ownership taken by the container ImFontAtlas (will delete memory itself). Set to true.
public bool FontDataOwnedByAtlas
리턴 bool

FontDataSize 공개적으로 프로퍼티

TTF data size
public int FontDataSize
리턴 int

FontNo 공개적으로 프로퍼티

0. Index of font within TTF file
public int FontNo
리턴 int

GlyphExtraSpacing 공개적으로 프로퍼티

Extra spacing (in pixels) between glyphs. Set to (0, 0).
public Vector2 GlyphExtraSpacing
리턴 Vector2

GlyphRanges 공개적으로 프로퍼티

List of Unicode range (2 value per range, values are inclusive, zero-terminated list).
public char* GlyphRanges
리턴 char*

MergeGlyphCenterV 공개적으로 프로퍼티

When merging (multiple ImFontInput for one ImFont), vertically center new glyphs instead of aligning their baseline. Set to false.
public bool MergeGlyphCenterV
리턴 bool

MergeMode 공개적으로 프로퍼티

Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). Set to false.
public bool MergeMode
리턴 bool

OversampleH 공개적으로 프로퍼티

Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. Set to 3.
public int OversampleH
리턴 int

OversampleV 공개적으로 프로퍼티

Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis. Set to 1.
public int OversampleV
리턴 int

PixelSnapH 공개적으로 프로퍼티

Align every character to pixel boundary (if enabled, set OversampleH/V to 1). Set to false.
public bool PixelSnapH
리턴 bool

SizePixels 공개적으로 프로퍼티

Size in pixels for rasterizer.
public float SizePixels
리턴 float