/usr/include/ossim/base/ossimFontInformation.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See top level LICENSE.txt.
//
// Author: Garrett Potts
//
//********************************************************************
// $Id: ossimFontInformation.h 23353 2015-06-01 19:19:10Z dburken $
#ifndef ossimFontInformation_HEADER
#define ossimFontInformation_HEADER
#include <iosfwd>
#include <ossim/base/ossimString.h>
#include <ossim/base/ossimIpt.h>
class ossimKeywordlist;
class OSSIM_DLL ossimFontInformation
{
public:
friend OSSIMDLLEXPORT std::ostream& operator << (std::ostream& out,
const ossimFontInformation& rhs);
ossimFontInformation();
ossimFontInformation(const ossimString& family,
const ossimString& style,
const ossimIpt& pointSize,
bool fixedFlag,
const ossimDpt& scale=ossimDpt(1.0,1.0),
double rotation = 0.0,
const ossimDpt& shear=ossimDpt(0.0, 0.0));
ossimFontInformation(const ossimFontInformation& rhs);
bool isFixed()const;
/**
* Saves the current state of this object.
*
* For keywords see loadState:
*/
bool saveState(ossimKeywordlist& kwl, const char* prefix=0)const;
/**
* Method to the load (recreate) the state of an object from a keyword
* list. Return true if ok or false on error.
*
* Keywords:
*
* family_name:
* style_name:
* fixed_flag:
* point_size: ( x, y )
* scale: ( x, y )
* shear: ( x, y )
* rotation:
*
* point_size_x: (deprecated)
* point_size_y: (deprecated)
* scale_x: (deprecated)
* scale_y: (deprecated)
* shear_x: (deprecated)
* shear_y: (deprecated)
*/
bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
bool operator ==(const ossimFontInformation& rhs)const;
bool operator !=(const ossimFontInformation& rhs)const;
const ossimFontInformation& operator =(const ossimFontInformation& rhs);
static const char* FAMILY_NAME_KW;
static const char* STYLE_NAME_KW;
static const char* POINT_SIZE_KW; // point_size: ( x, y )
static const char* POINT_SIZE_X_KW; // deprecated
static const char* POINT_SIZE_Y_KW; // deprecated
static const char* FIXED_FLAG_KW;
static const char* SHEAR_KW; // shear: ( x, y )
static const char* SHEAR_X_KW; // deprecated
static const char* SHEAR_Y_KW; // deprecated
static const char* SCALE_KW; // scale: ( x, y )
static const char* SCALE_X_KW; // deprecated
static const char* SCALE_Y_KW; // deprecated
static const char* ROTATION_KW;
ossimString theFamilyName;
ossimString theStyleName;
ossimIpt thePointSize;
bool theFixedFlag;
ossimDpt theScale;
double theRotation;
ossimDpt theShear;
};
#endif
|