xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
private_font_collection.h
Go to the documentation of this file.
1
4#pragma once
5#include <cstdint>
6#include <vector>
7#include <xtd/ustring.h>
8#include "../../drawing_export.h"
9#include "font_collection.h"
10
12namespace xtd {
14 namespace drawing {
16 namespace text {
25 public:
28
32 void add_font_file(const xtd::ustring& filename);
33
38 void add_memory_font(intptr_t memory, size_t length);
39 };
40 }
41 }
42}
Provides a base class for installed and private font collections.
Definition font_collection.h:22
Provides a collection of font families built from font files that are provided by the client applicat...
Definition private_font_collection.h:24
void add_memory_font(intptr_t memory, size_t length)
Adds a font contained in system memory to this td::drawing::text::private_font_collection.
private_font_collection()
Initializes a new instance of the xtd::drawing::text::private_font_collection class.
void add_font_file(const xtd::ustring &filename)
Adds a font from the specified file to this xtd::drawing::text::private_font_collection.
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:48
Contains xtd::drawing::text::font_collection class.
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::ustring class.