SGCT
master (487fac4)
Simple Graphics Cluster Toolkit
Toggle main menu visibility
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
17
namespace
sgct
{
18
class
BaseViewport
;
19
class
Window
;
20
}
// namespace sgct
21
22
namespace
sgct::text
{
23
24
class
Font;
25
26
enum class
Alignment
{
TopLeft
,
TopCenter
,
TopRight
};
27
28
SGCT_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__
sgct::BaseViewport
This class holds and manages viewportdata and calculates frustums.
Definition
baseviewport.h:27
sgct::Window
Definition
window.h:46
math.h
sgct::text
Definition
freetype.h:22
sgct::text::Alignment
Alignment
Definition
freetype.h:26
sgct::text::Alignment::TopRight
@ TopRight
Definition
freetype.h:26
sgct::text::Alignment::TopCenter
@ TopCenter
Definition
freetype.h:26
sgct::text::Alignment::TopLeft
@ TopLeft
Definition
freetype.h:26
sgct::text::print
void print(const Window &window, const BaseViewport &viewport, Font &font, Alignment mode, float x, float y, const vec4 &color, std::string text)
sgct
Definition
actions.h:16
sgct::vec4
Definition
math.h:66
sgct
freetype.h
Generated by
1.18.0