Back to index

tetex-bin  3.0
Public Member Functions | Public Attributes
DisplayFontParam Class Reference

#include <GlobalParams.h>

Collaboration diagram for DisplayFontParam:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DisplayFontParam (GString *nameA, DisplayFontParamKind kindA)
 ~DisplayFontParam ()

Public Attributes

GStringname
DisplayFontParamKind kind
union DisplayFontParam.__unnamed__ 

Detailed Description

Definition at line 54 of file GlobalParams.h.


Constructor & Destructor Documentation

Definition at line 98 of file GlobalParams.cc.

                                                           {
  name = nameA;
  kind = kindA;
  switch (kind) {
  case displayFontT1:
    t1.fileName = NULL;
    break;
  case displayFontTT:
    tt.fileName = NULL;
    break;
  }
}

Definition at line 112 of file GlobalParams.cc.

                                    {
  delete name;
  switch (kind) {
  case displayFontT1:
    if (t1.fileName) {
      delete t1.fileName;
    }
    break;
  case displayFontTT:
    if (tt.fileName) {
      delete tt.fileName;
    }
    break;
  }
}

Member Data Documentation

union { ... }

Definition at line 60 of file GlobalParams.h.

Definition at line 57 of file GlobalParams.h.


The documentation for this class was generated from the following files: