PIC2FIG(LOCAL) MISC. REFERENCE MANUAL PAGES PIC2FIG(LOCAL) NAME pic2fig - Fig preprocessor for drawing simple pictures SYNOPSIS pic2fig _f_i_l_e DESCRIPTION _P_i_c_2_f_i_g is a _F_i_g(_l) preprocessor for drawing simple figures in Fig code. The basic objects are _b_o_x, _l_i_n_e, _a_r_r_o_w, _c_i_r_- _c_l_e, _e_l_l_i_p_s_e, _a_r_c and text. When _p_i_c_2_f_i_g is executed, it produces an output file in the current directory. The name is constructed from the input file's name. If the input filename ends with .pic, then that extension will be replaced by .fig. Otherwise, .fig is appended to the input filename. If _f_i_l_e does not exist, then _p_i_c_2_f_i_g tries appending .pic to the name. The input language for _p_i_c_2_f_i_g is identical to that for _p_i_c, which is used with _d_t_r_o_f_f(_l), except for extensions listed below. Things enclosed within .PS and .PE will be translated by _p_i_c_2_f_i_g to _F_i_g intermediate code which can be further translated into a number of graphics description languages. Text not within .PS and .PE will be passed unal- tered to the output file. The default line thickness of drawings is 8 milli-inches. You may adjust this using the command: .ps _n for _n milli-inches. This command must be given in the first column. Changing the drawing thickness applies to solid, dashed, and dotted lines, as well as circles, arcs, and ellipses. Normally, the distance between text is 12 points. If you're using larger text to label objects, this should be set to an appropriate larger value. This can be done using the .baseline _n command, where _n is any real value, whose units are in typesetter points. The shading texture may be controlled with the command: .tx _N _w_1 _w_2 ... _w_N where the _w_N are 32-bit integers expressed in hexadecimal. This command must be given in the first column. Sun Release 4.1 Last change: 1 PIC2FIG(LOCAL) MISC. REFERENCE MANUAL PAGES PIC2FIG(LOCAL) Other input lines which begin with a period character are passed through to the output unaltered except for stripping the initial period character. It is recommended that you not use this feature unless you really know what you're doing. Extensions and differences: Text in _p_i_c_2_f_i_g can be any arbi- trary TeX text. It is set in restricted horizontal mode. Boxes, circles, and ellipses may have two attributes not available in _p_i_c: they may be ``shaded'' or ``white''. Because of restrictions in the current Imagen postprocessor, objects may not be given other attributes (eg, ``dashed'' or ``invis'') if they are ``shaded'' or ``white'' for that out- put device. Shaded figures are grayed in their interior. White objects force their interior to be whitened if it was shaded by another object. Objects are ``stacked'' on each other in the order in which they are defined in the _p_i_c_2_f_i_g input file. The shading attributes are subject to restric- tions of the capabilities of the output device used. SEE ALSO B. W. Kernighan, _P_I_C - _A _G_r_a_p_h_i_c_s _L_a_n_g_u_a_g_e _f_o_r _T_y_p_e_s_e_t_t_i_n_g Sun Release 4.1 Last change: 2