//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// private int[] CloneCoords(AffineTransform at) { int[] ret; if (at == null) { ret = new int[_intCoords.Length]; Array.Copy(_intCoords, ret, ret.Length); } else { ret = new int[_intCoords.Length]; at.Transform(_intCoords, 0, ret, 0, _numCoords / 2); } return ret; }
//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * Transforms the geometry of this path using the specified * {@link AffineTransform}. * The geometry is transformed in place, which permanently changes the * boundary defined by this object. * * @param at the {@code AffineTransform} used to transform the area */ public void Transform(AffineTransform at) { at.Transform(_intCoords, 0, _intCoords, 0, _numCoords / 2); }