Chapter 22. Object Templates
In this chapter
The
Box
ObjectThe
Arrow
ObjectNext Steps
The Box
and Arrow
objects supported by the editor are considered template objects because the interactive process of creating these objects enforces the shape appro-priate to the object.
The following sections introduce the Box
and Arrow
objects. You will notice many similarities between these objects and the Latex
Line
and Pencil
objects introduced in previous chapters.
Note
The code listings introduced in this chapter are targeted for placement in the gxLine.c
source file. Additionally, functions presented in the listings that are not defined static
should have a corresponding prototype placed in the gxProtos.h
header file.
The Box
Object
By choosing the icon shown ...
Get X Window Programming from Scratch now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.