OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimFontInformation.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: See top level LICENSE.txt.
5 //
6 // Author: Garrett Potts
7 //
8 //********************************************************************
9 // $Id: ossimFontInformation.h 23353 2015-06-01 19:19:10Z dburken $
10 #ifndef ossimFontInformation_HEADER
11 #define ossimFontInformation_HEADER
12 
13 #include <iosfwd>
14 #include <ossim/base/ossimString.h>
15 #include <ossim/base/ossimIpt.h>
16 
17 class ossimKeywordlist;
18 
20 {
21 public:
23  const ossimFontInformation& rhs);
24 
26 
27  ossimFontInformation(const ossimString& family,
28  const ossimString& style,
29  const ossimIpt& pointSize,
30  bool fixedFlag,
31  const ossimDpt& scale=ossimDpt(1.0,1.0),
32  double rotation = 0.0,
33  const ossimDpt& shear=ossimDpt(0.0, 0.0));
34 
36 
37  bool isFixed()const;
38 
44  bool saveState(ossimKeywordlist& kwl, const char* prefix=0)const;
45 
67  bool loadState(const ossimKeywordlist& kwl,
68  const char* prefix=0);
69 
70  bool operator ==(const ossimFontInformation& rhs)const;
71 
72  bool operator !=(const ossimFontInformation& rhs)const;
73 
74  const ossimFontInformation& operator =(const ossimFontInformation& rhs);
75 
76  static const char* FAMILY_NAME_KW;
77  static const char* STYLE_NAME_KW;
78  static const char* POINT_SIZE_KW; // point_size: ( x, y )
79  static const char* POINT_SIZE_X_KW; // deprecated
80  static const char* POINT_SIZE_Y_KW; // deprecated
81  static const char* FIXED_FLAG_KW;
82  static const char* SHEAR_KW; // shear: ( x, y )
83  static const char* SHEAR_X_KW; // deprecated
84  static const char* SHEAR_Y_KW; // deprecated
85  static const char* SCALE_KW; // scale: ( x, y )
86  static const char* SCALE_X_KW; // deprecated
87  static const char* SCALE_Y_KW; // deprecated
88  static const char* ROTATION_KW;
89 
90 
96  double theRotation;
98 };
99 
100 #endif
static const char * SHEAR_KW
static const char * FAMILY_NAME_KW
#define OSSIMDLLEXPORT
bool operator!=(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
Definition: ossimRefPtr.h:111
static const char * FIXED_FLAG_KW
Represents serializable keyword/value map.
static const char * SCALE_KW
static const char * SHEAR_X_KW
static const char * SCALE_Y_KW
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition: ossimAxes.h:88
static const char * POINT_SIZE_X_KW
static const char * ROTATION_KW
static const char * STYLE_NAME_KW
bool operator==(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
Definition: ossimRefPtr.h:101
static const char * SHEAR_Y_KW
#define OSSIM_DLL
static const char * POINT_SIZE_Y_KW
static const char * SCALE_X_KW
static const char * POINT_SIZE_KW
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23