logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PS_show2 — Output text with given length

Author

       This manual page was written by Uwe Steinmann uwe@steinmann.cx.

                                                                                                     PS_SHOW2(3)

Description

       Output  a  text  at  the  current text position. No more than xlen chars will be shown. The function will
       issue an error if no font was set before with PS_setfont(3).

       PS_show2()  evaluates  the  following  parameters  and  values  as   set   by   PS_set_parameter(3)   and
       PS_set_value(3).

       textx     The x coordinate for text output.

       texty     The y coordinate for text output.

       charspacing (value)
                 Distance  between  two  consecutive glyphs. If this value is unequal to zero then all ligatures
                 will be resolved. Values less than zero are allowed.

       kerning (parameter)
                 Setting this parameter to `false' will turn off kerning.  Kerning is turned on by default.

       ligatures (parameter)
                 Setting this parameter to `false' will turn off the use of ligatures.  Ligatures are turned  on
                 by default.

       underline (parameter)
                 Setting  this  parameter  to  `true'  will  turn  on underlining.  Underlining is turned off by
                 default.

       overline (parameter)
                 Setting this parameter to `true' will turn on overlining.  Overlining is turned off by default.

       strikeout (parameter)
                 Setting this parameter to `true' will turn on striking out.  Striking  out  is  turned  off  by
                 default.

Name

       PS_show2 — Output text with given length

See Also

PS_show(3), PS_continue_text2(3), PS_setfont(3)

Synopsis

       #include <pslib.h>

       void PS_show2(PSDoc *psdoc, char *text, int xlen)

See Also