Action:
|
Creates a Microsoft OpenGL view and attaches it to a
gl_context.
|
|
Filename:
|
gl/gl_scm/gl_scm.cxx
|
|
Syntax:
|
(gl:view [x-window y-window width height] [part])
|
|
Arg Types:
|
x-window
|
integer
|
|
y-window
|
integer
|
|
width
|
integer
|
|
height
|
integer
|
|
part
|
part
|
|
Returns:
|
view
|
|
Description:
|
This extension creates a view and attaches it to a
gl_context. The optional
x-window specifies the
x location of the upper left-hand corner of the view window on the screen. The optional
y-window specifies the
y location of the upper left-hand corner of the view window on the screen. The optional
width specifies the horizontal size of the window in pixels. The optional
height specifies the vertical size of the window in pixels. If no arguments are specified, a window is created based on the size of the display used. The default for the extension (gl:view) displays the view where the
y-axis is up, the
x-axis is to the right, and the
z-axis is coming out from the screen.
|
|
Limitations:
|
Supported on NT platforms only.
|
|
Example:
|
; gl:view
|
|
; Create a new OpenGL view.
|
|
(gl:view)
|
|
;; #[view 41943049]
|
|
(define view1 (gl:view 0 0 100 100))
|
|
;; view 1
|