Available in LEADTOOLS Vector Imaging toolkits. |
LVectorBase::SetCamera
#include "ltwrappr.h"
virtual L_INT LVectorBase::SetCamera(pVectorCamera)
const pVECTORCAMERA pVectorCamera; |
/* pointer to a structure */ |
Sets the new camera.
Parameter |
Description |
pVectorCamera |
Pointer to a VECTORCAMERA structure that contains the new camera values. If this is NULL, the default camera values will be used. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function will set the current viewing camera.
The camera is used with the view port to determine how the drawing will be projected into the destination DC when using LVectorBase::Paint.
If pVectorCamera is NULL, the default camera will be set. The default camera is defined as a top view camera.
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: |
|
Topics: |
|
|
Example
For an example, refer to LVectorBase::GetCamera.