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

絵文字 More...

#include <Emoji.hpp>

Public Member Functions

SIV3D_NODISCARD_CXX20 Emoji ()=default
 デフォルトコンストラクタ More...
 
SIV3D_NODISCARD_CXX20 Emoji (const char32 *emoji) noexcept
 
SIV3D_NODISCARD_CXX20 Emoji (StringView emoji) noexcept
 
SIV3D_NODISCARD_CXX20 Emoji (String emoji) noexcept
 

Static Public Member Functions

static bool HasGlyph (StringView emoji)
 
static GlyphIndex GetGlyphIndex (StringView emoji)
 
static Image CreateImage (StringView emoji)
 
static Image CreateImageByGlyphIndex (GlyphIndex glyphIndex)
 
static Image CreateSilhouetteImage (StringView emoji)
 
static Image CreateSilhouetteImageByGlyphIndex (GlyphIndex glyphIndex)
 

Public Attributes

String codePoints
 絵文字のコードポイント More...
 

Static Public Attributes

static constexpr Size ImageSize { 136, 128 }
 OpenSiv3D 標準絵文字のサイズ(ピクセル) More...
 
static constexpr double HorizontalAspectRatio = ImageSize.horizontalAspectRatio()
 

Detailed Description

絵文字

Constructor & Destructor Documentation

◆ Emoji() [1/4]

SIV3D_NODISCARD_CXX20 s3d::Emoji::Emoji ( )
default

デフォルトコンストラクタ

◆ Emoji() [2/4]

SIV3D_NODISCARD_CXX20 s3d::Emoji::Emoji ( const char32 emoji)
explicitnoexcept

◆ Emoji() [3/4]

SIV3D_NODISCARD_CXX20 s3d::Emoji::Emoji ( StringView  emoji)
explicitnoexcept

◆ Emoji() [4/4]

SIV3D_NODISCARD_CXX20 s3d::Emoji::Emoji ( String  emoji)
explicitnoexcept

Member Function Documentation

◆ CreateImage()

static Image s3d::Emoji::CreateImage ( StringView  emoji)
static

◆ CreateImageByGlyphIndex()

static Image s3d::Emoji::CreateImageByGlyphIndex ( GlyphIndex  glyphIndex)
static

◆ CreateSilhouetteImage()

static Image s3d::Emoji::CreateSilhouetteImage ( StringView  emoji)
static

◆ CreateSilhouetteImageByGlyphIndex()

static Image s3d::Emoji::CreateSilhouetteImageByGlyphIndex ( GlyphIndex  glyphIndex)
static

◆ GetGlyphIndex()

static GlyphIndex s3d::Emoji::GetGlyphIndex ( StringView  emoji)
static

◆ HasGlyph()

static bool s3d::Emoji::HasGlyph ( StringView  emoji)
static

Member Data Documentation

◆ codePoints

String s3d::Emoji::codePoints

絵文字のコードポイント

◆ HorizontalAspectRatio

constexpr double s3d::Emoji::HorizontalAspectRatio = ImageSize.horizontalAspectRatio()
staticconstexpr

◆ ImageSize

constexpr Size s3d::Emoji::ImageSize { 136, 128 }
staticconstexpr

OpenSiv3D 標準絵文字のサイズ(ピクセル)


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