malena
Why malena
Quick start
Tutorials
API docs
GitHub
GitHub
Tutorials
Loading...
Searching...
No Matches
Graphics
Primitives
Convex.h
Go to the documentation of this file.
1
// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2
// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4
5
#ifndef MALENA_CONVEX_H
6
#define MALENA_CONVEX_H
7
8
#pragma once
9
10
#include <
Malena/Core/malena_export.h
>
11
#include <
Malena/Graphics/Base/Graphic.h
>
12
#include <
Malena/Traits/Base/Customizable.h
>
13
14
namespace
ml
15
{
16
54
class
MALENA_API
Convex
:
public
Graphic
<sf::ConvexShape>
55
{
56
public
:
57
using
Graphic::Graphic
;
58
#ifdef _WIN32
59
~Convex
()
override
;
60
#endif
61
};
62
70
template
<
typename
MANIFEST>
71
class
ConvexWith
:
public
Convex
,
public
Customizable
<MANIFEST> {};
72
}
// namespace ml
73
#endif
// MALENA_CONVEX_H
Customizable.h
Graphic.h
ml::Convex
A framework-integrated convex polygon shape.
Definition
Convex.h:55
ml::Convex::Graphic
Graphic()
ml::ConvexWith
Convex with an attached manifest.
Definition
Convex.h:71
ml::Customizable< MANIFEST >::Customizable
Customizable()=default
ml::Graphic::Graphic
Graphic()
malena_export.h
MALENA_API
#define MALENA_API
Definition
malena_export.h:18
ml
Definition
Component.h:22