xtd 0.2.0
Loading...
Searching...
No Matches
private_font_collection.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../drawing_export.h"
6#include "font_collection.h"
7#include <xtd/ustring>
8#include <cstdint>
9#include <vector>
10
12namespace xtd {
14 namespace drawing {
16 namespace text {
25 public:
27
32
34
39 void add_font_file(const xtd::ustring& filename);
40
45 void add_memory_font(intptr memory, size_t length);
47 };
48 }
49 }
50}
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
private_font_collection()
Initializes a new instance of the xtd::drawing::text::private_font_collection class.
void add_memory_font(intptr memory, size_t length)
Adds a font contained in system memory to this xtd::drawing::text::private_font_collection.
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:47
Contains xtd::drawing::text::font_collection class.
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
intmax_t intptr
Represent a pointer or a handle.
Definition types.h:153
@ text
The xtd::forms::status_bar_panel displays text in the standard font.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10