Classes | Namespaces | Typedefs | Enumerations | Functions
DgnFontManager.h File Reference
#include "DgnPlatform.h"
#include <Bentley/CodePages.h>
#include <Bentley/RefCounted.h>
#include <Bentley/btree/btree_set.h>

Go to the source code of this file.

Classes

struct  DgnFontList
 A list of fonts. Generally this list is created for you by a search method. DgnFontLists are reference counted, so the last reference to the list frees it. More...
 
struct  DgnFontVisitor
 Implement this interface to traverse a set of fonts. More...
 
struct  DgnFontNamedSymbol
 Data structure to represent a named symbol for a font, as specified in the font configuration file. More...
 
struct  DgnFont
 All fonts in MicroStation, regardless of type, are referenced through an instance of this class. Fonts each have a name and type. It is possible to have multiple fonts in the system with the same name but different types. More...
 
struct  DgnFontNumMap
 A DgnFontNumMap is a per-DgnFile object that maps "FontID" (int) values to Font objects. FontNumMaps are loaded from the FontTable element stored in the dictionary model of a DgnFile. More...
 
struct  DgnFontManager
 The DgnFontManager provides access to all font related services. More...
 
struct  DgnGlyph
 Represents a glyph in a Font (agnostic of DgnFontType). The primary use is to be able to get a GPA of this glyph for export purposes. To acquire a Glyph object, see DgnFont::GetGlyph. More...
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 
 Bentley::DgnPlatform
 The DgnPlatform namespace contains types defined by the DgnPlatform.
 

Typedefs

typedef struct
DgnPlatform::DgnFontNamedSymbol * 
DgnFontNamedSymbolP
 
typedef struct
DgnPlatform::DgnFontNamedSymbol & 
DgnFontNamedSymbolR
 
typedef struct
DgnPlatform::DgnFontNamedSymbol
const * 
DgnFontNamedSymbolCP
 
typedef struct
DgnPlatform::DgnFontNamedSymbol
const & 
DgnFontNamedSymbolCR
 
typedef struct
DgnPlatform::DgnFont * 
DgnFontP
 
typedef struct
DgnPlatform::DgnFont & 
DgnFontR
 
typedef struct
DgnPlatform::DgnFont const * 
DgnFontCP
 
typedef struct
DgnPlatform::DgnFont const & 
DgnFontCR
 
typedef struct
DgnPlatform::DgnFontList * 
DgnFontListP
 
typedef struct
DgnPlatform::DgnFontList & 
DgnFontListR
 
typedef struct
DgnPlatform::DgnFontList const * 
DgnFontListCP
 
typedef struct
DgnPlatform::DgnFontList const & 
DgnFontListCR
 
typedef struct
DgnPlatform::DgnFontConfig * 
DgnFontConfigP
 
typedef struct
DgnPlatform::DgnFontConfig & 
DgnFontConfigR
 
typedef struct
DgnPlatform::DgnFontConfig
const * 
DgnFontConfigCP
 
typedef struct
DgnPlatform::DgnFontConfig
const & 
DgnFontConfigCR
 
typedef struct
DgnPlatform::DgnFontConfigSet * 
DgnFontConfigSetP
 
typedef struct
DgnPlatform::DgnFontConfigSet & 
DgnFontConfigSetR
 
typedef struct
DgnPlatform::DgnFontConfigSet
const * 
DgnFontConfigSetCP
 
typedef struct
DgnPlatform::DgnFontConfigSet
const & 
DgnFontConfigSetCR
 
typedef RefCountedPtr
< DgnFontList > 
DgnFontListPtr
 
typedef RefCountedPtr
< DgnFontNamedSymbol > 
DgnFontNamedSymbolPtr
 
typedef bvector< DgnFontCP > T_DgnFontCPVector
 A bvector of DgnFontCP objects, with allocations handled by Bentley.dll (so it can be passed across DLLs targetting different C runtimes). More...
 
typedef T_DgnFontCPVector * T_DgnFontCPVectorP
 
typedef T_DgnFontCPVector & T_DgnFontCPVectorR
 
typedef T_DgnFontCPVector const * T_DgnFontCPVectorCP
 
typedef T_DgnFontCPVector const & T_DgnFontCPVectorCR
 

Enumerations

enum  SpecialCharValues {
  SPECIALCHAR_Degree_Shx = 0x007f, SPECIALCHAR_PlusMinus_Shx = 0x0080, SPECIALCHAR_Diameter_Shx = 0x0081, SPECIALCHAR_Degree_Unicode = 0x00b0,
  SPECIALCHAR_PlusMinus_Unicode = 0x00b1, SPECIALCHAR_Diameter_Unicode = 0x2205, SPECIALCHAR_DiameterSign_Unicode = 0x2300, SPECIALCHAR_CapitalOWithStroke_Unicode = 0x00d8,
  SPECIALCHAR_SmallOWithStroke_Unicode = 0x00f8, SPECIALCHAR_FirstStandardRscFraction = 0x81, SPECIALCHAR_LastStandardRscFraction = 0xbf, SPECIALCHAR_UnicodeFraction_1_4 = 0x00bc,
  SPECIALCHAR_UnicodeFraction_1_2 = 0x00bd, SPECIALCHAR_UnicodeFraction_3_4 = 0x00be, SPECIALCHAR_UnicodeFraction_1_7 = 0x2150, SPECIALCHAR_UnicodeFraction_1_9 = 0x2151,
  SPECIALCHAR_UnicodeFraction_1_10 = 0x2152, SPECIALCHAR_UnicodeFraction_1_3 = 0x2153, SPECIALCHAR_UnicodeFraction_2_3 = 0x2154, SPECIALCHAR_UnicodeFraction_1_5 = 0x2155,
  SPECIALCHAR_UnicodeFraction_2_5 = 0x2156, SPECIALCHAR_UnicodeFraction_3_5 = 0x2157, SPECIALCHAR_UnicodeFraction_4_5 = 0x2158, SPECIALCHAR_UnicodeFraction_1_6 = 0x2159,
  SPECIALCHAR_UnicodeFraction_5_6 = 0x215a, SPECIALCHAR_UnicodeFraction_1_8 = 0x215b, SPECIALCHAR_UnicodeFraction_3_8 = 0x215c, SPECIALCHAR_UnicodeFraction_5_8 = 0x215d,
  SPECIALCHAR_UnicodeFraction_7_8 = 0x215e, SPECIALCHAR_PrivateUse_Degree_Unicode = 0xe000, SPECIALCHAR_PrivateUse_PlusMinus_Unicode = 0xe001, SPECIALCHAR_PrivateUse_Diameter_Unicode = 0xe002,
  SPECIALCHAR_PrivateUse_FirstRscFraction = 0xe100, SPECIALCHAR_PrivateUse_LastRscFraction = 0xe100 + 63
}
 Code points for various special characters. More...
 
enum  DgnFontType { None = 0, Rsc = 1, TrueType = 2, Shx = 3 }
 The types of fonts supported by MicroStation. More...
 
enum  DgnFontFilter {
  None = 0, Resource = 1<<0, Shx = 1<<1, ShxBig = 1<<2,
  TrueType = 1<<3, Missing = 1<<4, Symbol = 1<<5, Hidden = 1<<6,
  Normal = 0x000b, AllShx = 0x0006, All = 0x007f, ResourceShx = 0x0003
}
 Flags to filter font searches. More...
 
enum  DgnFontNamedSymbolSource { HardCoded, CustomFromFontConfig }
 Describes the type/source of a FontNamedSymbol. More...
 

Functions

DgnFontFilter operator| (DgnFontFilter a, DgnFontFilter b)
 
DgnFontFilter operator& (DgnFontFilter a, DgnFontFilter b)
 
DgnFontFilter operator~ (DgnFontFilter a)
 
bool operator! (DgnFontFilter a)
 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.