# hpgs_eps_device_st Struct Reference
[Basic vector graphics devices.]

A vector graphics device for drawing to an eps file. More...

`#include <hpgsdevices.h>`

## Data Fields
hpgs_device | inherited
| The base device structure.
hpgs_bbox | doc_bb
hpgs_bbox | page_bb
int | n_pages
char * | filename
| The output filename.
hpgs_ostream * | out
| The current page stream.
hpgs_bool | page_setup
| Is the current page set up?
hpgs_xrop3_func_t | rop3
| The ROP3 transfer raster operation.
hpgs_palette_color | pattern_color
| The color of the ROP3 pattern.
hpgs_color | color
| The current output color.
hpgs_ps_media_size * | media_sizes
int | n_media_sizes
int | media_sizes_alloc_size

## Detailed Description

A vector graphics device for drawing to an eps file.

This structure implements a `hpgs_device` and is used to write a scenery to an eps file.

## Field Documentation

hpgs_bbox hpgs_eps_device_st::page_bb

The document bounding box used for multipage postscript files.

Referenced by hpgs_new_eps_device(), and hpgs_new_ps_device().

int hpgs_eps_device_st::n_pages

The bounding box of the current page.

Referenced by hpgs_new_eps_device(), and hpgs_new_ps_device().

char* hpgs_eps_device_st::filename

The output filename.

The number of pages. -1...we are writing individual eps files.

Referenced by hpgs_new_eps_device(), and hpgs_new_ps_device().

hpgs_ps_media_size* hpgs_eps_device_st::media_sizes

A stack of media sizes for multipage PostScript files. The media sizes are sorted by their hash value.

Referenced by hpgs_new_eps_device(), and hpgs_new_ps_device().

int hpgs_eps_device_st::n_media_sizes

The currently calculated overall bounding box.

Referenced by hpgs_new_eps_device(), and hpgs_new_ps_device().

The documentation for this struct was generated from the following file:

- hpgsdevices.h