L_PntGetDCExtents

#include "LtPnt.h"

L_LTPNT_API L_INT L_PntGetDCExtents(pPaint, prcRect)

pPAINTHANDLE pPaint;

/* pointer to a paint handle */

const LPRECT prcRect;

/* pointer to a RECT structure */

Gets the current Device Context (DC) boundaries, set using the L_PntSetDCExtents function.

Parameter

Description

pPaint

Pointer to a paint handle.

prcRect

Pointer to a RECT structure to be updated with the current DC boundary information.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTPNT

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:

L_PntSetDCExtents, L_PntGetTransformation, L_PntSetTransformation, L_PntSetMetrics, L_PntRegionSurface, L_PntRegionBorder, L_PntRegionColor, L_PntFillSurface, L_PntFillBorder, L_PntFillColorReplace, L_PntPickColor

Topics:

DigitalPaint Functions: Getting and Setting the DC Boundaries

 

Setting General DigitalPaint Information

Example

For an example, refer to L_PntSetDCExtents.