LBitmapWindow::SetPatternStyle

#include "ltwrappr.h"

L_VOID LBitmapWindow::SetPatternStyle(uPatternStyle)

L_UINT uPatternStyle;

/* the filling style */

Sets the filling style used for drawing patterns.

Parameter

Description

uPatternStyle

The filling style. The following are possible values. (Values cannot be combined.)

 

Value

Meaning

 

EFX_PATTERN_SOLID

Solid

 

EFX_PATTERN_HORZ_LINE

Horizontal lines (==)

 

EFX_PATTERN_VERT_LINE

Vertical lines (||)

 

EFX_PATTERN_DOWNWARD_DIAG

Downward diagonal lines (//)

 

EFX_PATTERN_UPWARD_DIAG

Upward diagonal lines (\\)

 

EFX_PATTERN_CROSS

Cross line (++)

 

EFX_PATTERN_DIAG_CROSS

Diagonal cross lines (XX)

 

EFX_PATTERN_MAX

Diagonal cross lines (XX)

Returns

None

Comments

The default is EFX_PATTERN_CROSS.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTISI
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Topics:

Implementing Special Effects

Example

For an example, refer to LBitmapWindow::SetROP3.