Category Drawings and detail, Object ProDrawing

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>
ProErrorProDrawingViewMove(
ProDrawing drawing
/* (In)
The drawing
*/
ProView view
/* (In)
The view
*/
ProVector move_vector
/* (In)
A vector describing the view translation
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_GENERAL_ERRORFailure

Manual References:

  1. Drawings: Modifying Views
  2. Drawings: Modifying Views

Sample Code References:

  1. pt_examples ( TestDrwView.c )