###############################################################################
# #
# Copyright © 1989-1991 by Artificial Horizons®, Inc. All rights reserved. #
# #
# This material constitutes the trade secrets and confidential, #
# proprietary information of Bruce Factor and Curtis Priem, and is #
# under license to Artificial Horizons, Inc. The material is not #
# to be disclosed, reproduced, copied, or used in any manner not #
# permitted under license from Artificial Horizons, Inc. For more #
# information email "ahi-interest@ahi.com". #
# #
###############################################################################
RESOLUTION(3GC) AVIATOR GRAPHICS INTERFACE CLASSES RESOLUTION(3GC)
NAME
FB_CLASS__RESOLUTION - resolution class
SYNOPSIS
#include <agi.h>
register Fbuffer fbp;
fbstart(fbp, FB_CLASS__RESOLUTION) {
} fbend(fbp);
DESCRIPTION
The class FB_CLASS__RESOLUTION is used for change the frame buffers
resolution and video timing.
MEMBERS
The following public members can be accessed by using routines
fbput(3G) and fbget(3G). These 32 bit numbers can only be signed
integer.
FB_MEMBER__PIXEL_FREQUENCY__INTEGER
PIXEL_FREQUENCY is the rate at which pixels are scanned out to
the monitor, measured in Hz.
FB_MEMBER__HORIZONTAL_FREQUENCY__INTEGER
HORIZONTAL_FREQUENCY is the rate at which horizontal lines are
scanned out to the monitor, measured in Hz.
FB_MEMBER__VERTICAL_FREQUENCY__INTEGER
VERTICAL_FREQUENCY is the refresh rate or the rate frames are
scanned out to the monitor measured in Hz.
FB_MEMBER__HORIZONTAL_FRONT_PORCH__INTEGER
HORIZONTAL_FRONT_PORCH is the number of pixels during
horizontal blanking before the horizontal sync pulse, measured
in pixels.
FB_MEMBER__HORIZONTAL_SYNC_WIDTH__INTEGER
HORIZONTAL_SYNC_WIDTH is the number of pixels during
horizontal sync pulse, measured in pixels.
FB_MEMBER__HORIZONTAL_BACK_PORCH__INTEGER
HORIZONTAL_BACK_PORCH is the number of pixels during
horizontal blanking after the horizontal sync pulse, measured
in pixels.
FB_MEMBER__HORIZONTAL_DISPLAY__INTEGER
HORIZONTAL_DISPLAY is the number of visible pixels, measured
in pixels.
FB_MEMBER__VERTICAL_FRONT_PORCH__INTEGER
VERTICAL_FRONT_PORCH is the number of lines during vertical
blanking before the vertical sync pulse, measured in lines.
FB_MEMBER__VERTICAL_SYNC_WIDTH__INTEGER
VERTICAL_SYNC_WIDTH is the number of lines during vertical
sync pulse, measured in lines.
FB_MEMBER__VERTICAL_BACK_PORCH__INTEGER
VERTICAL_BACK_PORCH is the number of lines during vertical
blanking after the vertical sync pulse, measured in lines.
FB_MEMBER__VERTICAL_DISPLAY__INTEGER
VERTICAL_DISPLAY is the number of visible lines, measured
in lines.
FUNCTIONS
The following public functions can be called by using the fbcall(3G)
routine:
FB_FUNCTION__STORE
The STORE function stores all the current members into the
frame buffer.
FB_FUNCTION__LOAD
The LOAD function loads all of the members from the frame
buffer.
SEE ALSO
fbcall(3G), fbend(3G), fbget(3G), fbput(3G), fbstart(3G)
WARNING
Don't use this class unless you know what you're doing.
PERFORMANCE
AGI Release 1.8 Last change: 25 December 1991