# hpgs_plotsize_device_st Struct Reference
[Basic vector graphics devices.]

A vector graphics device for plotsize calculating. More...

`#include <hpgsdevices.h>`

## Data Fields
hpgs_device | inherited
| The base device structure.
hpgs_bool | ignore_ps
| Do we ignore a PS command?
int | clip_depth
| The depth of the current clip path stack.
hpgs_point | moveto
| The position of the last moveto.
int | deferred_moveto
| Do we have an unregistered moveto pending?
hpgs_bool | do_linewidth
| Do we account for the current linewidth?
double | linewidth
| Current linewidth.
hpgs_bbox | clip_bbs [HPGS_PLOTSIZE_MAX_CLIP_DEPTH]
hpgs_bbox | path_bb
hpgs_bbox | page_bb
hpgs_bbox | global_bb
hpgs_bbox * | page_bbs
int | n_page_bbs
int | page_bbs_alloc_size

## Detailed Description

A vector graphics device for plotsize calculating.

This structure implements a `hpgs_device` and is used to calculate the bounding box of a vector graphics scenery.

## Field Documentation

hpgs_bbox hpgs_plotsize_device_st::path_bb

The bounding boxes of the clip paths.

Referenced by hpgs_new_plotsize_device().

hpgs_bbox hpgs_plotsize_device_st::page_bb

The bounding box of the current path.

Referenced by hpgs_new_plotsize_device().

hpgs_bbox hpgs_plotsize_device_st::global_bb

The bounding box of the current page.

Referenced by hpgs_new_plotsize_device().

hpgs_bbox* hpgs_plotsize_device_st::page_bbs

The currently calculated overall bounding box.

A stack of page bounding boxes.

Referenced by hpgs_new_plotsize_device().

int hpgs_plotsize_device_st::n_page_bbs

The currently calculated overall bounding box.

Referenced by hpgs_new_plotsize_device().

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

- hpgsdevices.h