Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
vga_addtiming(3)	      Svgalib User Manual	      vga_addtiming(3)

NAME
       vga_guesstiming - calculate a timing line for the given resolution

SYNOPSIS
       #include	<vga.h>

       int vga_guesstiming(int x, int y, int clue, int arg);

DESCRIPTION
       Calculates  a  timing line for a	x*y resolution,	according to the value
       of clue.

CALCULATION METHODS
       If clue is 0, then the aspect ratio for the requested mode ( x:y	) must
       be  4:3.	 A  mode  with the same	aspect ratio closest to	the requested,
       while still having a higher resolution is found,	and then  scaled  down
       to the requested	mode.

       If clue is 1, then the aspect ratio for the requested mode ( x:y	) must
       be 4:3. A mode with the same aspect ratio  closest  to  the  requested,
       while still having a lower resolution is	found, and then	scaled down to
       the requested mode.

BUGS
       No guarantee that a modeline will be created, or	that a	created	 mode-
       line will be usefull is given.

SEE ALSO
       vga_addmode(3) vga_addtiming(3) addmodetest(6)

AUTHOR
       This manual page	was written by Matan Ziv-Av

Svgalib	(>= 1.4.0)		 7 April 1999		      vga_addtiming(3)

NAME | SYNOPSIS | DESCRIPTION | CALCULATION METHODS | BUGS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=vga_guesstiming&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help