Silverfrost Logo About Us | Contact Us
 

GET_BITMAP_DC@

Platform

Win32(ClearWin+)

Purpose

To obtain the device context of a bitmap which may be written to using the Windows API graphics functions and used in a %dw format.

Syntax

INTEGER(7) FUNCTION GET_BITMAP_DC@( H_BITS, V_BITS )
INTEGER H_BITS,V_BITS

Description

The bitmap is created of size H_BITS � V_BITS pixels. The device context can be destroyed by RELEASE_BITMAP_DC@, but will be returned to the system at normal program termination.

RELEASE_BITMAP_DC@ should be used when multiple bitmaps are created and when they need not be saved.

Return value

The function returns a handle to the device context.

See also

CLEAR_BITMAP@, RELEASE_BITMAP_DC@, %dw

 

 

Copyright © 1999-2017 Silverfrost Limited