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.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd::drawing::text namespace provides advanced GDI+ typography functionality.
Definition font_collection.hpp:14
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