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