xtd 0.2.0
font_collection.h
Go to the documentation of this file.
1 #pragma once
5 #include "../font_family.h"
6 #include <xtd/object>
7 #include <vector>
8 
10 namespace 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 }
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
Provides a base class for installed and private font collections.
Definition: font_collection.h:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32