Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fudge(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     fudge(3G)                                               fudge(3G)



NAME
fudge - specifies fudge values that are added to a graphics
window when it is resized
SPECIFICATION
C fudge(xfudge, yfudge)
long xfudge, yfudge;
FORTRAN subroutine fudge(xfudge, yfudge)
integer*4 xfudge, yfudge
DESCRIPTION
fudge specifies fudge values that are added to the
dimensions of a graphics window when it is resized.
Typically, you use fudge to create window borders. fudge is
useful in conjunction with stepunit and keepaspect.
With stepunit the window size for integers n and m is:
width = xunit*n + xfudge
height = yunit*m + yfudge
With keepaspect the window size is (w, h) where:
(w-xfudge)*yaspect = (h-yfudge)*xaspect
Call fudge at the beginning of a graphics program. If you do
not call winopen, the system ignores fudge.
SEE ALSO
winopen, keepaspect, stepunit
Using mex , Chapter 2, Programming with mex
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026