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

グリフ情報 More...

#include <GlyphInfo.hpp>

Inherited by s3d::BitmapGlyph, s3d::Glyph, s3d::MSDFGlyph, s3d::OutlineGlyph, s3d::PolygonGlyph, and s3d::SDFGlyph.

Public Member Functions

constexpr Vec2 getOffset (double scale=1.0) const noexcept
 
constexpr Vec2 getBase (double scale=1.0) const noexcept
 

Public Attributes

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...
 

Detailed Description

グリフ情報

Member Function Documentation

◆ getBase()

constexpr Vec2 s3d::GlyphInfo::getBase ( double  scale = 1.0) const
constexprnoexcept

◆ getOffset()

constexpr Vec2 s3d::GlyphInfo::getOffset ( double  scale = 1.0) const
constexprnoexcept

Member Data Documentation

◆ ascender

int16 s3d::GlyphInfo::ascender = 0

◆ buffer

int32 s3d::GlyphInfo::buffer = 0

◆ descender

int16 s3d::GlyphInfo::descender = 0

◆ glyphIndex

GlyphIndex s3d::GlyphInfo::glyphIndex = 0

グリフインデックス

◆ height

int16 s3d::GlyphInfo::height = 0

◆ left

int16 s3d::GlyphInfo::left = 0

◆ top

int16 s3d::GlyphInfo::top = 0

◆ width

int16 s3d::GlyphInfo::width = 0

◆ xAdvance

double s3d::GlyphInfo::xAdvance = 0

X 方向の移動

◆ yAdvance

double s3d::GlyphInfo::yAdvance = 0

Y 方向の移動


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