fg_setview()Win32 DirectX Fastgraph/Light Prototype void fg_setview (int view_minx, int view_maxx, int view_miny, int view_maxy, int minx, int maxx, int miny, int maxy); Sub fg_setview (ByVal view_minx As Long, ByVal view_maxx As Long, ByVal view_miny As Long, ByVal view_maxy As Long, ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long) procedure fg_setview (view_minx, view_maxx, view_miny, view_maxy, minx, maxx, miny, maxy : integer); Description The fg_setview() function defines a 2D viewport with the specified extremes at the specified screen space position. Parameters view_minx is the viewport's left edge in viewport units. view_maxx is the viewport's right edge in viewport units. Its value must be greater than view_minx. view_miny is the viewport's top edge in viewport units. view_maxy is the viewport's bottom edge in viewport units. Its value must be greater than view_miny. minx is the screen space x coordinate corresponding to the viewport's left edge. maxx is the screen space x coordinate corresponding to the viewport's right edge. It must be greater than minx. miny is the screen space y coordinate corresponding to the viewport's top edge. maxy is the screen space y coordinate corresponding to the viewport's bottom edge. It must be greater than miny. Return value none Restrictions none See also fg_getview(), fg_xview(), fg_yview()
|
 
copyright 2001 Ted Gruber Software, Inc.