Drawing View

Enumerations for drawing view type for use in the A3DDrawingViewDatastructure

Entity type is kA3DTypeDrawingView.

A local coordinate system can be applied on view, by setting A3DDrawingViewData::m_sOriginOnSheet, A3DDrawingViewData::m_sOffsetLocation, A3DDrawingViewData::m_dScaleand A3DDrawingViewData::m_dAngle. To convert local view coordinates into local sheet coordinate space, you can use the pseudo function below.

Matrix2DViewToSheetMatrix(A3DDrawingViewDataconst&sViewData)
{
Marix2DsMatrix

sMatrix.SetAngle(sViewData.m_dAngle);
sMatrix.Translate(sViewData.m_sOffsetLocation);
sMatrix.Scale(sViewData.m_dScale);
sMatrix.Translate(sViewData.m_sOriginOnSheet);

returnsMatrix;
}

Parameters

pDrawingView: The input view.

pData: Data of the view.

Returns

A3D_SUCCESSon success, or an error code on failure

Topics

Structures

Functions