SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
freetype.h
Go to the documentation of this file.
1/*****************************************************************************************
2 * SGCT *
3 * Simple Graphics Cluster Toolkit *
4 * *
5 * Copyright (c) 2012-2026 *
6 * For conditions of distribution and use, see copyright notice in LICENSE.md *
7 ****************************************************************************************/
8
9#ifndef __SGCT__FREETYPE__H__
10#define __SGCT__FREETYPE__H__
11
12#include <sgct/sgctexports.h>
13
14#include <sgct/math.h>
15#include <string>
16
17namespace sgct {
18 class BaseViewport;
19 class Window;
20} // namespace sgct
21
22namespace sgct::text {
23
24class Font;
25
27
28SGCT_EXPORT void print(const Window& window, const BaseViewport& viewport, Font& font,
29 Alignment mode, float x, float y, const vec4& color, std::string text);
30
31} // namespace sgct::text
32
33#endif // __SGCT__FREETYPE__H__
This class holds and manages viewportdata and calculates frustums.
Definition baseviewport.h:27
Definition window.h:46
Definition freetype.h:22
Alignment
Definition freetype.h:26
@ TopRight
Definition freetype.h:26
@ TopCenter
Definition freetype.h:26
@ TopLeft
Definition freetype.h:26
void print(const Window &window, const BaseViewport &viewport, Font &font, Alignment mode, float x, float y, const vec4 &color, std::string text)
Definition actions.h:16
Definition math.h:66