Setting DigitalPaint Properties in the LRasterPaintWindow Class

LEADTOOLS DigitalPaint provides several types of painting abilities, including:

Each of these is considered a paint "group" and each group has its own set of DigitalPaint properties that can be set. The values set for these properties control the paint results. For example, these properties determine:

Each group of properties has a group-specific structure used for getting or setting the properties. These structures are given below:

PAINTBRUSH

PAINTSHAPE

PAINTREGION

PAINTFILL

PAINTTEXT

Every structure has the dwMask field that will let the user specify the valid fields within the structure. In addition, there are default values for the members of each structure, which will be used if the user does not set paint properties.

To get the current properties for a specific group, use one of the functions listed below. Each function returns a pointer to a group-specific structure that is updated with the current properties.

LRasterPaintWindow::GetPaintBrush

LRasterPaintWindow::GetPaintFill

LRasterPaintWindow::GetPaintRegion

LRasterPaintWindow::GetPaintShape

LRasterPaintWindow::GetPaintText

To set the properties for a specific group, use one of the functions listed below. Each function requires a pointer to the appropriate group-specific structure. The structure should contain valid data for setting the properties.

LRasterPaintWindow::SetPaintBrush

LRasterPaintWindow::SetPaintFill

LRasterPaintWindow::SetPaintRegion

LRasterPaintWindow::SetPaintShape

LRasterPaintWindow::SetPaintText

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.