Sha256: 3a9beb88d67fd1e9335ce9ef94bb1632e3f16ebdc91d611fd81bdb59e525a801

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

//========================================================================
//
// CoreOutputDev.h
//
// Copyright 2004 Glyph & Cog, LLC
//
//========================================================================

#ifndef COREOUTPUTDEV_H
#define COREOUTPUTDEV_H

#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif

#include "SplashTypes.h"
#include "SplashOutputDev.h"

class TextPage;

//------------------------------------------------------------------------

typedef void (*CoreOutRedrawCbk)(void *data, int x0, int y0, int x1, int y1,
				 GBool composited);

//------------------------------------------------------------------------
// CoreOutputDev
//------------------------------------------------------------------------

class CoreOutputDev: public SplashOutputDev {
public:

  CoreOutputDev(SplashColorMode colorModeA, int bitmapRowPadA,
		GBool reverseVideoA, SplashColorPtr paperColorA,
		GBool incrementalUpdateA,
		CoreOutRedrawCbk redrawCbkA,
		void *redrawCbkDataA);

  virtual ~CoreOutputDev();

  //----- initialization and control

  // End a page.
  virtual void endPage();

  // Dump page contents to display.
  virtual void dump();

  //----- special access

  // Clear out the document (used when displaying an empty window).
  void clear();

private:

  GBool incrementalUpdate;      // incrementally update the display?
  CoreOutRedrawCbk redrawCbk;
  void *redrawCbkData;
};

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pdf2json-0.2.0 pdf2json-0.52-source/xpdf/CoreOutputDev.h
pdf2json-0.1.0 pdf2json-0.52-source/xpdf/CoreOutputDev.h