TrueTypeFont.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Visualization
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2017, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeVisualization/Base.h"
16 #include "CeeVisualization/Font.h"
17 
18 
19 namespace cee {
20 namespace vis {
21 
22 //==================================================================================================
23 //
24 //
25 //
26 //==================================================================================================
27 class CEE_VIS_EXPORT TrueTypeFont : public Font
28 {
29 public:
30  TrueTypeFont(const Str& filename, unsigned int pointSize);
31  virtual ~TrueTypeFont();
32 
33  unsigned int pointSize() const;
34  void setPointSize(unsigned int size);
35 
36  bool isLoaded() const;
37 
38 
39 private:
40  TrueTypeFont();
41 
42 
43 private:
44  CEE_DISALLOW_COPY_AND_ASSIGN(TrueTypeFont);
45 };
46 
47 } // namespace vis
48 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
A true type font used for text drawing.
Definition: TrueTypeFont.h:27
A font used for text drawing.
Definition: Font.h:30