FCT
载入中...
搜索中...
未找到
Font.h
浏览该文件的文档.
1
//
2
// Created by Administrator on 2025/5/4.
3
//
4
5
#ifndef FONT_H
6
#define FONT_H
7
class
Font
{
8
protected
:
9
float
m_ascender
;
10
float
m_descender
;
11
float
m_height
;
12
struct
GlyphInfo
13
{
14
float
advanceX
;
15
float
advanceY
;
16
float
bitmapWidth
;
17
float
bitmapHeight
;
18
float
bitmapLeft
;
19
float
bitmapTop
;
20
std::vector<float>
outlineCommands
;
21
};
//从FCTv2移植过来的, todo:待删除
22
public
:
23
24
};
25
26
27
28
#endif
//FONT_H
Font
定义
Font.h:7
Font::m_ascender
float m_ascender
定义
Font.h:9
Font::m_descender
float m_descender
定义
Font.h:10
Font::m_height
float m_height
定义
Font.h:11
Font::GlyphInfo
定义
Font.h:13
Font::GlyphInfo::outlineCommands
std::vector< float > outlineCommands
定义
Font.h:20
Font::GlyphInfo::bitmapWidth
float bitmapWidth
定义
Font.h:16
Font::GlyphInfo::advanceX
float advanceX
定义
Font.h:14
Font::GlyphInfo::bitmapHeight
float bitmapHeight
定义
Font.h:17
Font::GlyphInfo::bitmapLeft
float bitmapLeft
定义
Font.h:18
Font::GlyphInfo::bitmapTop
float bitmapTop
定义
Font.h:19
Font::GlyphInfo::advanceY
float advanceY
定义
Font.h:15
src
VertexAndText
Font.h
制作者
1.14.0