Begin File: pmmemtobutton.tgz Description:photon application utilizing drawing into a memory context Keywords: photon memory context example Version: Entered-date: June 11, 1997 Author: Ported-by: Original-site: QNX Copying-policy: free Supplemental: This archive will expand into a pmmemtobutton directory. The source code is a simple and short example of drawing into a memory context. A memory context is created, an ellipse and a line are drawn into it using the Pg* functions, and the memory context is then flushed into an image. This image is then used as the image for a Pt_IMAGE type PtButton widget. This app requires photon 1.12 or later to compile/run. archive contents: -rw-rw-r-- 1 stevend techies 185 Jun 11 10:38 pmmemtobutton/Makefile -rw-rw-r-- 1 stevend techies 2758 Jun 11 10:35 pmmemtobutton/pmmemtobutton.c End