Cumulia Illustrator Rendering Engine
v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
Loading...
Searching...
No Matches
glyph.h
1
//##################################################################################################
2
//
3
// Copyright (c) 2024 Beijing Qiongqi Tech Co.,Ltd. All rights reserved.
4
5
// This source code is confidential and proprietary to Beijing Qiongqi Tech Co.,Ltd(The Holder).
6
// Any unauthorized use, copying, modification, or distribution of the code is strictly prohibited.
7
// Any user shall obtain authorizaition from the Holder before modifying the source code. And the user shall not
8
// sublicense, sell, distribute, or transfer the source code, whether in original or modified form, to any third party
9
// without the prior written consent of the Holder.
10
11
// This copyright notice and permission grant shall be included in all copies or substantial portions of the source code.
12
13
// Author Cumulia Illustrator
14
// Date 2024-05-01
15
// Version V1.0.0
16
//##################################################################################################
17
18
#pragma once
19
20
#include <cilcore.h>
21
22
#include<memory>
23
#include<wchar.h>
24
25
namespace
cil
26
{
27
class
Glyph
28
{
29
public
:
30
wchar_t
character
;
31
int
width
;
32
int
height
;
33
int
bearingX
;
34
int
bearingY
;
35
int
advanceX
;
36
int
advanceY
;
37
std::shared_ptr<Image2D>
image
;
38
};
39
}
cil::Glyph
Definition
glyph.h:28
cil::Glyph::character
wchar_t character
Definition
glyph.h:30
cil::Glyph::advanceY
int advanceY
Definition
glyph.h:36
cil::Glyph::advanceX
int advanceX
Definition
glyph.h:35
cil::Glyph::bearingX
int bearingX
Definition
glyph.h:33
cil::Glyph::height
int height
Definition
glyph.h:32
cil::Glyph::bearingY
int bearingY
Definition
glyph.h:34
cil::Glyph::width
int width
Definition
glyph.h:31
cil::Glyph::image
std::shared_ptr< Image2D > image
Definition
glyph.h:37
cil
Definition
decal.h:23
lumin
annotation
src
text
glyph.h
Generated by
1.11.0