This function can fail on certain hardware.
You can use PdGetOffscreenContextPtr() on closed systems where
you know that the graphics frame buffer is linear; don't use it in
applications that target generic hardware configurations.

If you set the collector ID for the event
(event->collector.rid)
to zero, the event is enqueued to every appropriately sensitive region that
intersects with the event.
If you set collector.rid to a region ID, only that region notices
the event.

An API for handling font names in an organized, portable way has been added.
Previously, we recommended you address a font by the
“stem name” supplied by the font manager (e.g. helv12).
This approach is no longer recommended, since stem names aren't
guaranteed to be static. This is especially true when new
font technology is added to the Photon font subsystem.
The new API provides an interface that eliminates the need to recode in
the future. It includes:

This function can select directories as well as files.
Enable directory selection with the Pt_FSDIALOG_SELECT_DIRS
flag.
Existing directories can be selected with btn1 (the Open button).

PtFileSelection() can create and delete directories and delete
files.
You can create new directories at any time by pressing the New button.
When the PtFileSel widget has focus, two new hotkeys
are activated: the Insert key creates a new directory
just like the New Directory button, and the Delete key
removes the currently selected item.

If PX_TRANSPARENT is set in the flags member of
the PxMethods_t structure, PxLoadImage()
makes the image transparent, using the detected transparent color and
the image's chroma scheme. There's no need to set the transparent
member of this structure — it's deprecated.