OPEN_GL_PRINTER@

Platform

Win32, x64

Purpose

To display the Open Printer dialog box and attach it to OpenGL.

Syntax

INTEGER FUNCTION OPEN_GL_PRINTER@(ID,ATTRIB,WIDTH,HEIGHT)
INTEGER ID,ATTRIB,WIDTH,HEIGHT

Description

ID is the user assigned printer identification number.

ATTRIB is a variable that describes the buffering that is required and is a combination of the following flags.

GL_DOUBLE_BIT

GL_STENCIL_BIT

GL_ACCUM_BIT

GL_DEPTH16_BIT

GL_DEPTH32_BIT

These flags may be added together.

When the function returns, WIDTH and HEIGHT provide the width and height of the printer page in pixels.

Note that ID and ATTRIB are input values whilst WIDTH and HEIGHT are output values.

Return value

This function returns 1 if the user selected a device or zero if the "CANCEL" button was selected.

See also

OPEN_GL_PRINTER1@, PRINT_OPENGL_IMAGE@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited