xtd 0.2.0
Loading...
Searching...
No Matches
private_font_collection.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../../drawing_export.hpp"
6#include "font_collection.hpp"
7#include <xtd/string>
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::string& filename);
40
45 void add_memory_font(intptr memory, size_t length);
47 };
48 }
49 }
50}
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Provides a base class for installed and private font collections.
Definition font_collection.hpp:22
Provides a collection of font families built from font files that are provided by the client applicat...
Definition private_font_collection.hpp:24
void add_font_file(const xtd::string &filename)
Adds a font from the specified file to this xtd::drawing::text::private_font_collection.
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.
Contains xtd::drawing::text::font_collection class.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
@ 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.hpp:10