*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/fudge (3)              
Title
Content
Arch
Section
 

Contents


fudge(3G)							     fudge(3G)


NAME    [Toc]    [Back]

     fudge - specifies fudge values that are added to a	graphics window

C SPECIFICATION    [Toc]    [Back]

     void fudge(xfudge,	yfudge)
     long xfudge, yfudge;

PARAMETERS    [Toc]    [Back]

     xfudge   expects the number of pixels added in the	x direction.

     yfudge   expects the number of pixels added in the	y direction.

DESCRIPTION    [Toc]    [Back]

     fudge specifies fudge values that are added to the	dimensions of a
     graphics window when it is	sized.	Typically, you use it to create
     interior window borders.  Call fudge prior	to calling winopen.

     fudge is useful in	conjunction with stepunit and keepaspect.  With
     stepunit the window size for integers m and n is:

	  width	= xunit	* m + xfudge
	  height = yunit * n + yfudge

     With keepaspect the window	size is	(width,	height), where:

	  (width - xfudge) * yaspect = (height - yfudge) * xaspect

SEE ALSO    [Toc]    [Back]

      
      
     keepaspect, stepunit, winopen

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
minsize IRIX specifies the minimum size of a graphics window
keepaspect IRIX specifies the aspect ratio of a graphics window
maxsize IRIX specifies the maximum size of a graphics window
prefsize IRIX specifies the preferred size of a graphics window
prefposition IRIX specifies the preferred location and size of a graphics window
stepunit IRIX specifies that a graphics window change size in discrete steps
DXmSvnShowHighlighting Tru64 Specifies that the SVN widget use highlight graphics when showing highlighted entries.
DXmSvnShowSelections Tru64 Specifies that the SVN widget use selection graphics when displaying selected entries.
displacepolygon IRIX specifies a displacement for the z values of rendered polygons
msalpha IRIX specifies treatment of alpha values during multisample rendering
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service