API-Dokumentation
>
Drawings and detail
>
Object ProDrawing
> Function ProDrawingViewMove
Function ProDrawingViewMove
Description
Moves a view (by a vector) to a new position, in logical screen coordinates. NOTE: Use only for views displayed in the current window.
Replacement in Object TOOLKIT:
pfcView2D::Translate
Synopsis
#include <
ProDrawing.h
>
ProError
ProDrawingViewMove
(
ProDrawing
drawing
/* (In)
The drawing
*/
ProView
view
/* (In)
The view
*/
ProVector
move_vector
/* (In)
A vector describing the view translation
*/
)
Returns
PRO_TK_NO_ERROR
Success
PRO_TK_CANT_MODIFY
Model is in read-only state.
PRO_TK_GENERAL_ERROR
Failure
Sample Code References
pt_examples ( TestDrwView.c )
User Guide References
Modifying Views:ProDrawingViewMove
War dies hilfreich?
Diese Website funktioniert am besten, wenn JavaScript aktiviert ist.