Back to index

tetex-bin  3.0
Public Member Functions | Static Public Member Functions | Private Attributes
GfxPattern Class Reference

#include <GfxState.h>

Inheritance diagram for GfxPattern:
Inheritance graph

List of all members.

Public Member Functions

 GfxPattern (int typeA)
virtual ~GfxPattern ()
virtual GfxPatterncopy ()=0
int getType ()

Static Public Member Functions

static GfxPatternparse (Object *obj)

Private Attributes

int type

Detailed Description

Definition at line 468 of file GfxState.h.

Constructor & Destructor Documentation

Definition at line 1185 of file

  type = typeA;
GfxPattern::~GfxPattern ( ) [virtual]

Definition at line 1189 of file


Member Function Documentation

virtual GfxPattern* GfxPattern::copy ( ) [pure virtual]

Implemented in GfxShadingPattern, and GfxTilingPattern.

Here is the caller graph for this function:

int GfxPattern::getType ( ) [inline]

Definition at line 478 of file GfxState.h.

{ return type; }

Here is the caller graph for this function:

GfxPattern * GfxPattern::parse ( Object obj) [static]

Reimplemented in GfxShadingPattern, and GfxTilingPattern.

Definition at line 1192 of file

  GfxPattern *pattern;
  Object obj1;

  if (obj->isDict()) {
    obj->dictLookup("PatternType", &obj1);
  } else if (obj->isStream()) {
    obj->streamGetDict()->lookup("PatternType", &obj1);
  } else {
    return NULL;
  pattern = NULL;
  if (obj1.isInt() && obj1.getInt() == 1) {
    pattern = GfxTilingPattern::parse(obj);
  } else if (obj1.isInt() && obj1.getInt() == 2) {
    pattern = GfxShadingPattern::parse(obj);
  return pattern;

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

int GfxPattern::type [private]

Definition at line 482 of file GfxState.h.

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