xtd 0.2.0
private_font_collection.hpp
Go to the documentation of this file.
1
4#pragma once
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
47 };
48 }
49 }
50}
font_collection()=default
Initialise new instance of xtd::drawing::text::font_collection class.
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(xtd::intptr memory, xtd::size length)
Adds a font contained in system memory to this xtd::drawing::text::private_font_collection.
Contains drawing_export_ keyword.
Contains xtd::drawing::text::font_collection class.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
The xtd::drawing::text namespace provides advanced GDI+ typography functionality.
Definition font_collection.hpp:14
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
constexpr size_type length() const noexcept
Returns the length of the current read_only_span.
Definition read_only_span.hpp:229