载入中...
搜索中...
未找到
Font.h 文件参考
#include <cstdint>
#include <string>
#include <unordered_map>

浏览源代码.

class  eve::graphics::Font
 GPU-side font: wraps a decoded font::FontData and rasterizes a fixed set of codepoints into a single RGBA8 glyph atlas texture up front, so Graphics::print() can draw text with plain textured-quad draws. 更多...
 
struct  eve::graphics::Font::Glyph
 

命名空间

namespace  eve
 
namespace  eve::font
 
namespace  eve::graphics
 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。
 

函数

uint32_t eve::graphics::nextCodepointUtf8 (const std::string &text, size_t &i)
 Decodes one UTF-8 codepoint from text starting at byte offset i, advancing i past it. Returns 0 at end of string; invalid/truncated sequences decode as U+FFFD and advance by one byte.