Draws a rectangle into the target device context, and then fills the rectangle with the specified pattern.
#include "ltwrappr.h"
virtual L_INT LPaintEffect::DrawPattern(pRect, uStyle)
The bounding rectangle.
The pattern style. Possible values are:
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) |
Win32, x64.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
For an example, refer to LPaintEffect::DrawFrame.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document