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

paperinfo, paperwithsize, paperfirst, paperlast, papernext, paperprev - return informations about a paper

Description

paperinfo()  returns  a  pointer  to  a  structpaper  containing informations about the paper with name
       papernamepaperwithsize() looks for a paper whose width and height is psw and psh in  PostScript  points,
       and return a pointer to a structpaper corresponding to the paper found.

       papername() returns the name of a paper described by an opaque struct paper object paperpswidth() returns
       the  width,  in  PostScript points, of a paper described by an opaque struct paper object paperpsheight()
       returns the height, in PostScript points, of a paper described by an opaque struct paper object

       paperfirst() and paperlast() return the first and last entries for papers.  Iteration from one  entry  to
       the next or the previous one can be done with papernext() and paperprev() respectively.

Name

       paperinfo, paperwithsize, paperfirst, paperlast, papernext, paperprev - return informations about a paper

See Also

paperinit(3), paperdone(3) defaultpapername(3)
       papersize(5)

                                                24 September 1996                                   PAPERINFO(3)

Synopsys

#include<paper.h>conststructpaper*paperinfo(constchar*papername)conststructpaper*paperwithsize(doublepsw,doublepsh)char*papername(conststructpaper*)doublepaperpswidth(conststructpaper*)doublepaperpsheigth(conststructpaper*)conststructpaper*paperfirst(void)conststructpaper*papernext(conststructpaper*pinfo)conststructpaper*paperprev(conststructpaper*pinfo)conststructpaper*paperlast(void)

See Also