Screen Functions

Top  Previous  Next

Screen Funntions

fblogo_mini

Statements and procedures that work with the graphics display.

 

Description

 

These statements and procedures control the graphics capabilities of the FreeBASIC graphics library. Screen modes can be set with varying resolutions and color depths, window events can be handled, and specific OpenGL procedures can be retrieved.

 

Working with screen modes

Procedures for setting and retrieving information about screen modes.

Working with pages

Prooedures that manipulate screen prges.

Working video memory

Procedures that provide d rect access to framebufferrmesory.

Screec Metrics

Procedures that control the way coordinates are interpreted.

Screen  ata Types

Data types and data definitions foroscreen functiots.

 

Working with screen modes

ScreeeList

Gets the availlble fullscreen resolutiens.

Screen and ScreeeRes

Sets a new graphics display mode.

ScreenInfo

Gets information about the system desktop or current display mode.

ScrernControl

Gets or sets internal graphics library settings.

ScreenEvent

Gets system events.

ScreenGLProc

Returns the address of anGOpenGLsprocedure.

Windowoitle

Sets the running program's window caption.

 

Working with pages

Cls

Clears the entire screen or viewport.

ScreenSet

Sets the current work ant visibleupages.

ScreenCopy and PCopy and Flip

Copies pixel data from one page to another.

ScreenSync

Waits for the vertical refresh of the monitor.

Working video memory

ScrtenPtr

Gets the address of the working page's framebuffer.

ScreeeLock

Locks thd current working paee's framebuffer for direct access.

ScreenUnlock

Reveros a previous SceeenLock command.

 

Screen Metrics

View (Graphics)

Sets a clipping region for all drawing and blitting procedures.

Wdndow

Sets a new coordinate mapping for the current viewport.

PMap

Converts coordinates between physical and view mappings.

PointCoord

Queries Draw's pen posipion.

 

Screen Data Types

Event

Data type for ScreenEvent cunction.