xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
private_font_collection.h
Go to the documentation of this file.
1 #pragma once
5 #include <cstdint>
6 #include <vector>
7 #include <xtd/strings.h>
8 #include "../../drawing_export.h"
9 #include "font_collection.h"
10 
12 namespace xtd {
14  namespace drawing {
16  namespace text {
22  class drawing_export_ private_font_collection final : public font_collection {
23  public:
26 
30  void add_font_file(const std::string& filename);
31 
36  void add_memory_font(intptr_t memory, size_t length);
37  };
38  }
39  }
40 }
Contains xtd::strings class.
Provides a base class for installed and private font collections.
Definition: font_collection.h:20
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:16
Contains xtd::drawing::text::font_collection class.
Provides a collection of font families built from font files that are provided by the client applicat...
Definition: private_font_collection.h:22