Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
ImFontAtlasCustomRect Struct Reference

#include <src/imgui/imgui.h>

+ Collaboration diagram for ImFontAtlasCustomRect:

Public Member Functions

 ImFontAtlasCustomRect ()
 
bool IsPacked () const
 

Public Attributes

unsigned short Width
 
unsigned short Height
 
unsigned short X
 
unsigned short Y
 
unsigned int GlyphID
 
float GlyphAdvanceX
 
ImVec2 GlyphOffset
 
ImFontFont
 

Detailed Description

Constructor & Destructor Documentation

◆ ImFontAtlasCustomRect()

ImFontAtlasCustomRect::ImFontAtlasCustomRect ( )
inline
2558{ Width = Height = 0; X = Y = 0xFFFF; GlyphID = 0; GlyphAdvanceX = 0.0f; GlyphOffset = ImVec2(0, 0); Font = NULL; }
ImVec2 GlyphOffset
Definition imgui.h:2556
float GlyphAdvanceX
Definition imgui.h:2555
unsigned short X
Definition imgui.h:2553
unsigned int GlyphID
Definition imgui.h:2554
unsigned short Height
Definition imgui.h:2552
unsigned short Width
Definition imgui.h:2552
unsigned short Y
Definition imgui.h:2553
ImFont * Font
Definition imgui.h:2557
Definition imgui.h:245

Member Function Documentation

◆ IsPacked()

bool ImFontAtlasCustomRect::IsPacked ( ) const
inline
2559{ return X != 0xFFFF; }

Referenced by ImFontAtlas::CalcCustomRectUV(), ImFontAtlasBuildRenderDefaultTexData(), and ImFontAtlasBuildRenderLinesTexData().

+ Here is the caller graph for this function:

Member Data Documentation

◆ Font

ImFont* ImFontAtlasCustomRect::Font

◆ GlyphAdvanceX

float ImFontAtlasCustomRect::GlyphAdvanceX

◆ GlyphID

unsigned int ImFontAtlasCustomRect::GlyphID

◆ GlyphOffset

ImVec2 ImFontAtlasCustomRect::GlyphOffset

◆ Height

◆ Width

◆ X

◆ Y


The documentation for this struct was generated from the following file: