xtd 0.2.0
Loading...
Searching...
No Matches
font_collection.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../font_family.hpp"
6#include <xtd/object>
7#include <vector>
8
10namespace xtd {
12 namespace drawing {
14 namespace text {
22 class font_collection : public object {
23 public:
25
29 const std::vector<font_family>& families() const noexcept {return families_;}
31
32 protected:
34 font_collection() = default;
35
37 std::vector<font_family> families_;
39 };
40 }
41 }
42}
Provides a base class for installed and private font collections.
Definition font_collection.hpp:22
const std::vector< font_family > & families() const noexcept
Gets the array of FontFamily objects associated with this FontCollection.
Definition font_collection.hpp:29
font_collection()=default
Initialise new instance of font_collection class.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10