#include "ltwrappr.h"
virtual L_VOID LBitmapWindow::GetRgnCurveOptions(puFillMode, pdTension = NULL, pnClose = NULL)
L_UINT * puFillMode; |
pointer to a variable to be updated |
L_DOUBLE * pdTension; |
pointer to a variable to be updated |
L_INT * pnClose; |
pointer to a variable to be updated |
Gets the curved regions options set for the class object.
Parameter | Description | |
puFillMode | Pointer to a variable to be updated with the filling mode. Possible values are: | |
Value | Meaning | |
L_POLY_WINDING | [0] All pixels that are inside the resulting exterior lines are in the region. | |
L_POLY_ALTERNATE | [1] The region includes the area between odd-numbered and even-numbered polygon sides on each scan line. | |
pdTension | Pointer to a variable to be updated with the tension value. Possible values range from 0.0 to 1.0. NULL is the default value. | |
pnClose | Pointer to a variable to be updated with a value that specifies how the curve is closed. Possible values are: | |
Value | Meaning | |
CURVE_NO_CLOSE | [0x0] For n points, draw (n 3) segments. For example, for points {P0, P1, P2, P3, P4}, draw segments P1P2 and P2P3. | |
CURVE_CLOSE | [0x1] For n points draw (n) segments. For example, for points {P0, P1, P2, P3, P4}, draw segments P0P1, P1P2, P2P3, P3P4, P4P0. | |
CURVE_PARTIAL_CLOSE | [0x2] For n points draw (n 1) segments. For example, for points {P0, P1, P2, P3, P4}, draw segments P0P1, P1P2, P2P3, P3P4 (but not P4P0). | |
NULL is the default value. |
None.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
Functions: |
LBitmapWindow::SetRgnCurveOptions, LBitmapWindow::SetToolType, LBitmapWindow::SetRegionType, Class Members |
L_INT LBitmapWindow__GetRgnCurveOptionsExample(LBitmapWindow & BitmapWindow)
{
L_UINT uFillMode;
L_DOUBLE dTension;
L_INT nClose;
BitmapWindow.GetRgnCurveOptions(&uFillMode, &dTension, &nClose);
if (uFillMode == L_POLY_ALTERNATE)
BitmapWindow.SetRgnCurveOptions (L_POLY_WINDING, dTension, nClose);
return SUCCESS;
}
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.