Chapter Contents |
Previous |
Next |
The GFONT Procedure |
Procedure features: |
| |||||||||||
Other features: |
| |||||||||||
Sample library member: | GR16N02 |
This example shows how to create three simple figures for a symbol font. Each figure is laid out on a grid that is 64 font units square. The third figure is a circle with a slash through it. Diagram of Circle with Slash Figure shows the figure and some of its coordinate points laid out on a grid.
Diagram of Circle with Slash Figure
libname reflib 'SAS-data-library'; libname gfont0 'SAS-data-library'; goptions reset=global gunit=pct border cback=white colors=(black blue green red) ftext=swiss htitle=6 htext=3; |
data reflib.figures; input char $ ptype $ x y segment lp $; datalines; A W 0 64 0 P /* triangle pointing right */ A V 4 4 1 P A V 60 32 1 P A V 4 60 1 P A V 4 4 1 P |
title 'A Font of Three Figures'; footnote j=r 'GR16N02 '; |
proc gfont data=reflib.figures name=figures filled height=.75in ctext=red showroman romht=.5in resol=2; run; quit; |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.