Back to index

tetex-bin  3.0
Defines | Functions | Variables
GfxState.cc File Reference
#include <aconf.h>
#include <stddef.h>
#include <math.h>
#include <string.h>
#include "gmem.h"
#include "Error.h"
#include "Object.h"
#include "Array.h"
#include "Page.h"
#include "GfxState.h"

Go to the source code of this file.

Defines

#define nGfxColorSpaceModes   ((sizeof(gfxColorSpaceModeNames) / sizeof(char *)))

Functions

static double clip01 (double x)

Variables

static char * gfxColorSpaceModeNames []
static double xyzrgb [3][3]

Define Documentation

#define nGfxColorSpaceModes   ((sizeof(gfxColorSpaceModeNames) / sizeof(char *)))

Definition at line 47 of file GfxState.cc.


Function Documentation

static double clip01 ( double  x) [inline, static]

Definition at line 27 of file GfxState.cc.

                                      {
  return (x < 0) ? 0 : ((x > 1) ? 1 : x);
}

Here is the caller graph for this function:


Variable Documentation

char* gfxColorSpaceModeNames[] [static]
Initial value:
 {
  "DeviceGray",
  "CalGray",
  "DeviceRGB",
  "CalRGB",
  "DeviceCMYK",
  "Lab",
  "ICCBased",
  "Indexed",
  "Separation",
  "DeviceN",
  "Pattern"
}

Definition at line 33 of file GfxState.cc.

double xyzrgb[3][3] [static]
Initial value:
 {
  {  3.240449, -1.537136, -0.498531 },
  { -0.969265,  1.876011,  0.041556 },
  {  0.055643, -0.204026,  1.057229 }
}

Definition at line 469 of file GfxState.cc.