CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUIPolygonF.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2025 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
22
24#include "../UI/FxUIEnum.h"
25
26#if defined( XENON )
27namespace Wt
28{
29 class WPointF;
30}
31using FxNativePolygonF = std::list<Wt::WPointF>;
32#else
33class QPolygonF;
34using FxNativePolygonF = QPolygonF;
35#endif
36
37class CFxUIPolygonFImpl;
38
40{
41public:
42
45
47 CFxUIPolygonF( const CFxUIPolygonF& PolygonF );
48 CFxUIPolygonF( const FxNativePolygonF& PolygonF );
49
52
55
56 operator const FxNativePolygonF&() const;
57
58protected:
59 CFxUIPolygonFImpl* m_pImpl = nullptr;
60};
#define COMMONUI_API
QPolygonF FxNativePolygonF
CFxUIPolygonF(const FxNativePolygonF &PolygonF)
CFxUIPolygonF & operator=(const CFxUIPolygonF &PolygonF)
CFxUIPolygonF(const CFxUIPolygonF &PolygonF)
CFxUIPolygonFImpl * m_pImpl
Definition FxString.h:30