This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 411
fa22d46e 3f4b 8fd7 df0c 1da2528245d7
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public override void TransformBy(
Matrix3 transformation,
Vector3 translation
)
VB
Public Overrides Sub TransformBy (
transformation As Matrix3,
translation As Vector3
)
C++
public:
virtual void TransformBy(
Matrix3 transformation,
Vector3 translation
) override
F#
abstract TransformBy :
transformation : Matrix3 *
translation : Vector3 -> unit
override TransformBy :
transformation : Matrix3 *
translation : Vector3 -> unit
Non-uniform scaling is not supported for multilines. Explode the entity and, in case round end caps has been applied, convert the arcs into ellipse arcs and transform them instead.
Matrix3 adopts the convention of using column vectors to represent a transformation matrix.