MCPcopy Create free account
hub / github.com/arrayfire/forge / Font

Class Font

include/fg/font.h:86–126  ·  view source on GitHub ↗

\class Font \brief Font object is essentially a resource handler for the specific font you want to use */

Source from the content-addressed store, hash-verified

84 \brief Font object is essentially a resource handler for the specific font you want to use
85 */
86class Font {
87 private:
88 fg_font mValue;
89
90 public:
91 /**
92 Creates Font object
93 */
94 FGAPI Font();
95
96 /**
97 Copy constructor for Font
98
99 \param[in] other is the Font object of which we make a copy of, this is not a deep copy.
100 */
101 FGAPI Font(const Font& other);
102
103 /**
104 Font Destructor
105 */
106 FGAPI ~Font();
107
108 /**
109 Load a given font file
110
111 \param[in] pFile True Type Font file path
112 */
113 FGAPI void loadFontFile(const char* const pFile);
114
115 /**
116 Load a system font based on the name
117
118 \param[in] pName True Type Font name
119 */
120 FGAPI void loadSystemFont(const char* const pName);
121
122 /**
123 Get handle for internal implementation of Font object
124 */
125 FGAPI fg_font get() const;
126};
127
128}
129

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected