---
name: "plgdrawmode"
section: "3plplot"
platform: "linux"
package: "plplot-doc"
version: "5.15.0+dfsg2-15"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/plgdrawmode"
---

# plgdrawmode(3plplot)

Get drawing mode (depends on device support!)

## NAME

**plgdrawmode** - Get drawing mode (depends on device support!)

## SYNOPSIS

**plgdrawmode**()

## DESCRIPTION

Get drawing mode.  Note only one device driver (cairo) currently supports this at the moment, and for that case the PLINT value returned by this function is one of PL\_DRAWMODE\_DEFAULT, PL\_DRAWMODE\_REPLACE, PL\_DRAWMODE\_XOR, or PL\_DRAWMODE\_UNKNOWN. This function returns PL\_DRAWMODE\_UNKNOWN for the rest of the device drivers.  See also [**plsdrawmode**(3plplot)](/plsdrawmode/3plplot.md).

Redacted form: **plgdrawmode()**

This function is used in example 34.

## AUTHORS

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

## SEE ALSO

PLplot documentation at http://plplot.org/documentation.php.
