Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Enumerations | Functions
cf2intrp.c File Reference
#include "cf2ft.h"
#include "cf2glue.h"
#include "cf2font.h"
#include "cf2stack.h"
#include "cf2hints.h"
#include "cf2error.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_cf2interp
 
#define CF2_FIXME
 

Enumerations

enum  {
  cf2_cmdRESERVED_0, cf2_cmdHSTEM, cf2_cmdRESERVED_2, cf2_cmdVSTEM,
  cf2_cmdVMOVETO, cf2_cmdRLINETO, cf2_cmdHLINETO, cf2_cmdVLINETO,
  cf2_cmdRRCURVETO, cf2_cmdRESERVED_9, cf2_cmdCALLSUBR, cf2_cmdRETURN,
  cf2_cmdESC, cf2_cmdRESERVED_13, cf2_cmdENDCHAR, cf2_cmdRESERVED_15,
  cf2_cmdRESERVED_16, cf2_cmdRESERVED_17, cf2_cmdHSTEMHM, cf2_cmdHINTMASK,
  cf2_cmdCNTRMASK, cf2_cmdRMOVETO, cf2_cmdHMOVETO, cf2_cmdVSTEMHM,
  cf2_cmdRCURVELINE, cf2_cmdRLINECURVE, cf2_cmdVVCURVETO, cf2_cmdHHCURVETO,
  cf2_cmdEXTENDEDNMBR, cf2_cmdCALLGSUBR, cf2_cmdVHCURVETO, cf2_cmdHVCURVETO
}
 
enum  {
  cf2_escDOTSECTION, cf2_escRESERVED_1, cf2_escRESERVED_2, cf2_escAND,
  cf2_escOR, cf2_escNOT, cf2_escRESERVED_6, cf2_escRESERVED_7,
  cf2_escRESERVED_8, cf2_escABS, cf2_escADD, cf2_escSUB,
  cf2_escDIV, cf2_escRESERVED_13, cf2_escNEG, cf2_escEQ,
  cf2_escRESERVED_16, cf2_escRESERVED_17, cf2_escDROP, cf2_escRESERVED_19,
  cf2_escPUT, cf2_escGET, cf2_escIFELSE, cf2_escRANDOM,
  cf2_escMUL, cf2_escRESERVED_25, cf2_escSQRT, cf2_escDUP,
  cf2_escEXCH, cf2_escINDEX, cf2_escROLL, cf2_escRESERVED_31,
  cf2_escRESERVED_32, cf2_escRESERVED_33, cf2_escHFLEX, cf2_escFLEX,
  cf2_escHFLEX1, cf2_escFLEX1
}
 

Functions

 cf2_hintmask_init (CF2_HintMask hintmask, FT_Error *error)
 
 cf2_hintmask_isValid (const CF2_HintMask hintmask)
 
 cf2_hintmask_isNew (const CF2_HintMask hintmask)
 
 cf2_hintmask_setNew (CF2_HintMask hintmask, FT_Bool val)
 
 cf2_hintmask_getMaskPtr (CF2_HintMask hintmask)
 
 cf2_hintmask_setAll (CF2_HintMask hintmask, size_t bitCount)
 
 cf2_interpT2CharString (CF2_Font font, CF2_Buffer buf, CF2_OutlineCallbacks callbacks, const FT_Vector *translation, FT_Bool doingSeac, CF2_Fixed curX, CF2_Fixed curY, CF2_Fixed *width)
 

Macro Definition Documentation

◆ CF2_FIXME

#define CF2_FIXME
Value:
FT_TRACE4(( "cf2_interpT2CharString:" \
" operator not implemented yet\n" ))
#define FT_TRACE4(varformat)
Definition: ftdebug.h:161

Definition at line 61 of file cf2intrp.c.

◆ FT_COMPONENT

#define FT_COMPONENT   trace_cf2interp

Definition at line 57 of file cf2intrp.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
cf2_cmdRESERVED_0 
cf2_cmdHSTEM 
cf2_cmdRESERVED_2 
cf2_cmdVSTEM 
cf2_cmdVMOVETO 
cf2_cmdRLINETO 
cf2_cmdHLINETO 
cf2_cmdVLINETO 
cf2_cmdRRCURVETO 
cf2_cmdRESERVED_9 
cf2_cmdCALLSUBR 
cf2_cmdRETURN 
cf2_cmdESC 
cf2_cmdRESERVED_13 
cf2_cmdENDCHAR 
cf2_cmdRESERVED_15 
cf2_cmdRESERVED_16 
cf2_cmdRESERVED_17 
cf2_cmdHSTEMHM 
cf2_cmdHINTMASK 
cf2_cmdCNTRMASK 
cf2_cmdRMOVETO 
cf2_cmdHMOVETO 
cf2_cmdVSTEMHM 
cf2_cmdRCURVELINE 
cf2_cmdRLINECURVE 
cf2_cmdVVCURVETO 
cf2_cmdHHCURVETO 
cf2_cmdEXTENDEDNMBR 
cf2_cmdCALLGSUBR 
cf2_cmdVHCURVETO 
cf2_cmdHVCURVETO 

Definition at line 200 of file cf2intrp.c.

◆ anonymous enum

anonymous enum
Enumerator
cf2_escDOTSECTION 
cf2_escRESERVED_1 
cf2_escRESERVED_2 
cf2_escAND 
cf2_escOR 
cf2_escNOT 
cf2_escRESERVED_6 
cf2_escRESERVED_7 
cf2_escRESERVED_8 
cf2_escABS 
cf2_escADD 
cf2_escSUB 
cf2_escDIV 
cf2_escRESERVED_13 
cf2_escNEG 
cf2_escEQ 
cf2_escRESERVED_16 
cf2_escRESERVED_17 
cf2_escDROP 
cf2_escRESERVED_19 
cf2_escPUT 
cf2_escGET 
cf2_escIFELSE 
cf2_escRANDOM 
cf2_escMUL 
cf2_escRESERVED_25 
cf2_escSQRT 
cf2_escDUP 
cf2_escEXCH 
cf2_escINDEX 
cf2_escROLL 
cf2_escRESERVED_31 
cf2_escRESERVED_32 
cf2_escRESERVED_33 
cf2_escHFLEX 
cf2_escFLEX 
cf2_escHFLEX1 
cf2_escFLEX1 

Definition at line 236 of file cf2intrp.c.

Function Documentation

◆ cf2_hintmask_getMaskPtr()

cf2_hintmask_getMaskPtr ( CF2_HintMask  hintmask)

Definition at line 102 of file cf2intrp.c.

◆ cf2_hintmask_init()

cf2_hintmask_init ( CF2_HintMask  hintmask,
FT_Error error 
)

Definition at line 67 of file cf2intrp.c.

References error, FT_Bool, FT_LOCAL_DEF, and FT_ZERO.

Referenced by cf2_interpT2CharString().

◆ cf2_hintmask_isNew()

cf2_hintmask_isNew ( const CF2_HintMask  hintmask)

Definition at line 84 of file cf2intrp.c.

References FT_LOCAL_DEF.

◆ cf2_hintmask_isValid()

cf2_hintmask_isValid ( const CF2_HintMask  hintmask)

Definition at line 77 of file cf2intrp.c.

References FT_Bool, and FT_LOCAL_DEF.

Referenced by cf2_interpT2CharString().

◆ cf2_hintmask_setAll()

cf2_hintmask_setAll ( CF2_HintMask  hintmask,
size_t  bitCount 
)

Definition at line 174 of file cf2intrp.c.

References CF2_Int, CF2_UInt, and i.

◆ cf2_hintmask_setNew()

cf2_hintmask_setNew ( CF2_HintMask  hintmask,
FT_Bool  val 
)

Definition at line 91 of file cf2intrp.c.

References FT_LOCAL_DEF.

◆ cf2_interpT2CharString()

cf2_interpT2CharString ( CF2_Font  font,
CF2_Buffer  buf,
CF2_OutlineCallbacks  callbacks,
const FT_Vector translation,
FT_Bool  doingSeac,
CF2_Fixed  curX,
CF2_Fixed  curY,
CF2_Fixed width 
)