Category Drawings and detail, Object ProDrawing

Function ProDrawingViewTransformGet


Description
Return a transformation matrix from view csys to drawing csys and vice versa.
Replacement in Object TOOLKIT: pfcView2D::GetTransform
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingViewTransformGet(
ProDrawing drawing
/* (In)
The drawing.
*/
ProView view
/* (In)
The view.
*/
ProBoolean view_to_drawing
/* (In)
The direction for transformation
*/
ProMatrix transform
/* (Out)
The transformation matrix between the view and the drawing.
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_GENERAL_ERRORFailure

Manual References:

  1. Drawings: Listing Drawing Views
  2. Drawings: Listing Drawing Views
  3. Drawings: Visible Areas of Views
  4. Core: Coordinate Systems and Transformations: Transforming from Drawing View to Screen Coordinates in a Drawing

Sample Code References:

  1. pt_examples ( TestDimension.c )
  2. pt_examples ( TestDrwView.c )
  3. pt_userguide ( UgDrawingDimensions.c )