L_VecSetPan
#include "lvkrn.h"
L_INT EXT_FUNCTION L_VecSetPan(pVector, pPan)
pVECTORHANDLE pVector; |
/* pointer to a vector handle */ |
const POINT L_FAR * pPan; |
/* pointer to a structure */ |
Sets the new pan values.
Parameter |
Description |
pVector |
Pointer to a vector handle. |
pPan |
Pointer to a POINT structure that contains the new pan coordinates. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function will set the physical pan values. These pan values are in pixels. This function can be used to scroll the VECTOR image.
Required DLLs and Libraries
LVKRN 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: |
Example
/* This example will sets the pan value of a vector to 10 pixels horizontal and 20 vertical */
void TestVecSetPan ( pVECTORHANDLE pVector )
{
POINT pan;
pan.x = 10;
pan.y = 20;
L_VecSetPan( pVector, &pan );
}