xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
font_collection.h
Go to the documentation of this file.
1 #pragma once
5 #include <vector>
6 #include <xtd/object.h>
7 #include "../font_family.h"
8 
10 namespace xtd {
12  namespace drawing {
14  namespace text {
22  class font_collection : public object {
23  public:
26  const std::vector<font_family>& families() const {return families_;}
27 
28  protected:
31 
33  std::vector<font_family> families_;
35  };
36  }
37  }
38 }
Provides a base class for installed and private font collections.
Definition: font_collection.h:22
const std::vector< font_family > & families() const
Gets the array of FontFamily objects associated with this FontCollection.
Definition: font_collection.h:26
font_collection()
Initialise new instance of font_collection class.
Definition: font_collection.h:30
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::object class.