|
int | hershey2unicode (int in) |
|
static void | pldeco (short int **sym, PLINT *length, PLCHAR_VECTOR text) |
|
static void | plchar (signed char *xygrid, PLFLT *xform, PLINT base, PLINT oline, PLINT uline, PLINT refx, PLINT refy, PLFLT scale, PLFLT xpmm, PLFLT ypmm, PLFLT *p_xorg, PLFLT *p_yorg, PLFLT *p_width) |
|
static PLINT | plcvec (PLINT ch, signed char **xygr) |
|
static void | plhrsh2 (PLINT ch, PLINT x, PLINT y) |
|
void | c_plstring (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLCHAR_VECTOR string) |
|
void | c_plsym (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLINT code) |
|
void | c_plpoin (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLINT code) |
|
void | c_plpoin3 (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_VECTOR z, PLINT code) |
|
void | c_plstring3 (PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_VECTOR z, PLCHAR_VECTOR string) |
|
void | plhrsh (PLINT ch, PLINT x, PLINT y) |
|
void | c_pllab (PLCHAR_VECTOR xlabel, PLCHAR_VECTOR ylabel, PLCHAR_VECTOR tlabel) |
|
void | c_plmtex (PLCHAR_VECTOR side, PLFLT disp, PLFLT pos, PLFLT just, PLCHAR_VECTOR text) |
|
void | c_plptex (PLFLT wx, PLFLT wy, PLFLT dx, PLFLT dy, PLFLT just, PLCHAR_VECTOR text) |
|
void | plstr (PLINT base, PLFLT *xform, PLINT refx, PLINT refy, PLCHAR_VECTOR string) |
|
PLFLT | plstrl (PLCHAR_VECTOR string) |
|
PLINT | plP_strpos (PLCHAR_VECTOR str, int chr) |
|
PLINT | plP_stindex (PLCHAR_VECTOR str1, PLCHAR_VECTOR str2) |
|
PLBOOL | plP_stsearch (PLCHAR_VECTOR str, int chr) |
|
void | plP_script_scale (PLBOOL ifupper, PLINT *level, PLFLT *old_scale, PLFLT *scale, PLFLT *old_offset, PLFLT *offset) |
|
void | c_plfont (PLINT ifont) |
|
void | plfntld (PLINT fnt) |
|
void | plfontrel (void) |
|
int | plhershey2unicode (int in) |
|
PLCHAR_VECTOR | plP_FCI2FontName (PLUNICODE fci, const FCI_to_FontName_Table lookup[], const int nlookup) |
|
void | c_plmtex3 (PLCHAR_VECTOR side, PLFLT disp, PLFLT pos, PLFLT just, PLCHAR_VECTOR text) |
|
void | c_plptex3 (PLFLT wx, PLFLT wy, PLFLT wz, PLFLT dx, PLFLT dy, PLFLT dz, PLFLT sx, PLFLT sy, PLFLT sz, PLFLT just, PLCHAR_VECTOR text) |
|
void | c_plsfont (PLINT family, PLINT style, PLINT weight) |
|
void | c_plgfont (PLINT *p_family, PLINT *p_style, PLINT *p_weight) |
|
Point-, symbol-, and string-plotting routines.
Definition in file plsym.c.
Plot a glyph at the specified points. (This function is largely superseded by plstring which gives access to many[!] more glyphs.) code=-1 means try to just draw a point. Right now it's just a move and a draw at the same place. Not ideal, since a sufficiently intelligent output device may optimize it away, or there may be faster ways of doing it. This is OK for now, though, and offers a 4X speedup over drawing a Hershey font "point" (which is actually diamond shaped and and therefore takes 4 strokes to draw). If 0 < code < 32, then a useful (but small subset) of Hershey symbols is plotted. If 32 <= code <= 127 the corresponding printable ASCII character is plotted.
- Parameters
-
n | Number of points in x and y arrays. |
x | Pointer to an array with X coordinates of points. |
y | Pointer to an array with Y coordinates of points. |
code | Hershey symbol code (in "ascii-indexed" form with -1 <= code <= 127) corresponding to a glyph to be plotted at each of the n points. |
Definition at line 162 of file plsym.c.
Plot a glyph at the specified 3D points. (This function is largely superseded by plstring3 which gives access to many[!] more glyphs.) Set up the call to this function similar to what is done for plline3. code=-1 means try to just draw a point. Right now it's just a move and a draw at the same place. Not ideal, since a sufficiently intelligent output device may optimize it away, or there may be faster ways of doing it. This is OK for now, though, and offers a 4X speedup over drawing a Hershey font "point" (which is actually diamond shaped and therefore takes 4 strokes to draw). If 0 < code < 32, then a useful (but small subset) of Hershey symbols is plotted. If 32 <= code <= 127 the corresponding printable ASCII character is plotted.
- Parameters
-
n | Number of points in x, y, and z arrays. |
x | Pointer to an array with X coordinates of points. |
y | Pointer to an array with Y coordinates of points. |
z | Pointer to an array with Z coordinates of points. |
code | Hershey symbol code (in "ascii-indexed" form with -1 <= code <= 127) corresponding to a glyph to be plotted at each of the n points. |
Definition at line 225 of file plsym.c.