Exemple #1
0
		private void rotatePath(PathData data, GraphicsPath path, float rotationAngle)
		{
			if (rotationAngle != 0)
			{
				Matrix rotation = new Matrix();
				rotation.RotateAt(rotationAngle,
					Utilities.getCenter(data.getBounds()));
				path.Transform(rotation);
				rotation.Dispose();
			}
		}