InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DrawingChunkRange Class Reference

#include <LineDescription.h>

Public Types

enum  FontDrawStyle {
  kNormal = 0x00, kBold = 0x02, kItalic = 0x04, kAllCaps = 0x08,
  kSmallCaps = 0x10
}
 
typedef object_type data_type
 

Public Attributes

FontDrawStyle fFontStyle
 
bool16 fUseModelFont
 
uint16 fLength
 

Detailed Description

Cache of drawing style so it doesn't need to be calculated at draw time

Member Enumeration Documentation

Describes the variant of the font to draw in, meant to be or'd together
Enumerator
kNormal 

Use normal font

kBold 

Use bold variant

kItalic 

Use italic variant

kAllCaps 

Display using all caps

kSmallCaps 

Dispaly using small caps

Member Data Documentation

FontDrawStyle DrawingChunkRange::fFontStyle

Describes the variant of the font

uint16 DrawingChunkRange::fLength

Length of this chunk of glyphs

bool16 DrawingChunkRange::fUseModelFont

fUseModelFont - if true override normal story display font with the current model font, used for codes that can't be represented in normal display font