OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::Glyph Struct Reference

#include <Glyph.hpp>

Inherits s3d::GlyphInfo.

Public Member Functions

SIV3D_NODISCARD_CXX20 Glyph ()=default
 
SIV3D_NODISCARD_CXX20 Glyph (const GlyphInfo &glyphInfo)
 
- Public Member Functions inherited from s3d::GlyphInfo
constexpr Vec2 getOffset (double scale=1.0) const noexcept
 
constexpr Vec2 getBase (double scale=1.0) const noexcept
 

Public Attributes

TextureRegion texture
 
char32 codePoint = U'\0'
 
- Public Attributes inherited from s3d::GlyphInfo
GlyphIndex glyphIndex = 0
 グリフインデックス More...
 
int32 buffer = 0
 
int16 left = 0
 
int16 top = 0
 
int16 width = 0
 
int16 height = 0
 
int16 ascender = 0
 
int16 descender = 0
 
double xAdvance = 0
 X 方向の移動 More...
 
double yAdvance = 0
 Y 方向の移動 More...
 

Constructor & Destructor Documentation

◆ Glyph() [1/2]

SIV3D_NODISCARD_CXX20 s3d::Glyph::Glyph ( )
default

◆ Glyph() [2/2]

SIV3D_NODISCARD_CXX20 s3d::Glyph::Glyph ( const GlyphInfo glyphInfo)
explicit

Member Data Documentation

◆ codePoint

char32 s3d::Glyph::codePoint = U'\0'

◆ texture

TextureRegion s3d::Glyph::texture

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