---
name: "PS_create_gstate"
section: "3"
platform: "linux"
package: "pslib-dev"
version: "0.4.8-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PS_create_gstate"
---

# PS\_create\_gstate(3)

Creates a new graphic state

## NAME

PS\_create\_gstate — Creates a new graphic state

## SYNOPSIS

\#include \<pslib.h\>

int PS\_create\_gstate(PSDoc \*psdoc, const char \*optlist)

## DESCRIPTION

## RETURN VALUE

Returns the identifier of the graphic state or zero in case of an  error. The identifier is a positiv number.

## SEE ALSO

[PS\_set\_gstate(3)](/PS_set_gstate/3.md)

## AUTHOR

This manual page was written by Uwe Steinmann uwe@steinmann.cx.
