MCPcopy Create free account
hub / github.com/aseprite/laf / EmptyFontStyleSet

Method EmptyFontStyleSet

text/empty_font_mgr.cpp:51–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49class EmptyFontStyleSet : public FontStyleSet {
50public:
51 EmptyFontStyleSet() {}
52 int count() override { return 0; }
53 void getStyle(int index, FontStyle& style, std::string& name) override {}
54 TypefaceRef typeface(int index) override { return base::make_ref<EmptyTypeface>(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected