xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.drawing
include
xtd
drawing
text
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
12
namespace
xtd
{
14
namespace
drawing
{
16
namespace
text
{
24
class
drawing_export_
private_font_collection
final :
public
font_collection
{
25
public
:
27
30
private_font_collection
();
32
34
39
auto
add_font_file
(
const
xtd::string
& filename) -> void;
40
45
auto
add_memory_font
(
xtd::intptr
memory,
xtd::usize
length
) -> void;
47
};
48
}
49
}
50
}
xtd::drawing::text::font_collection::font_collection
font_collection()=default
Initialise new instance of xtd::drawing::text::font_collection class.
xtd::drawing::text::private_font_collection::private_font_collection
private_font_collection()
Initializes a new instance of the xtd::drawing::text::private_font_collection class.
xtd::drawing::text::private_font_collection::add_font_file
auto add_font_file(const xtd::string &filename) -> void
Adds a font from the specified file to this xtd::drawing::text::private_font_collection.
xtd::drawing::text::private_font_collection::add_memory_font
auto add_memory_font(xtd::intptr memory, xtd::usize length) -> void
Adds a font contained in system memory to this xtd::drawing::text::private_font_collection.
drawing_export.hpp
Contains drawing_export_ keyword.
font_collection.hpp
Contains xtd::drawing::text::font_collection class.
drawing_export_
#define drawing_export_
Define shared library export.
Definition
drawing_export.hpp:13
xtd::string
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition
__string_definitions.hpp:43
xtd::intptr
std::intmax_t intptr
Represent a pointer or a handle.
Definition
intptr.hpp:23
xtd::usize
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition
usize.hpp:22
xtd::drawing::text
The xtd::drawing::text namespace provides advanced GDI+ typography functionality.
Definition
font_collection.hpp:14
xtd::drawing
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition
actions_system_images.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::length
constexpr auto length() const noexcept -> size_type
Returns the length of the current read_only_span.
Definition
read_only_span.hpp:213
Generated on
for xtd by
Gammasoft
. All rights reserved.