public void DrawRoundedRectangle(Brush brush, RoundedRectangleF rectangle, float strokeWidth, GeneralTransform transform) { var localTransform = transform.GetTransform(); DrawRoundedRectangle(brush, rectangle, strokeWidth, Matrix3x2.Identity, localTransform); }
public void DrawRectangle(Brush brush, RectangleF rect, float strokeWidth, GeneralTransform transform) { var matrixTransform = transform.GetTransform(); DrawRectangle(brush, rect, strokeWidth, Matrix3x2.Identity, matrixTransform); }
/// <summary> /// Fills an ellipse on the DrawingLayer with the given brush /// </summary> /// <param name="brush">The brush to fill</param> /// <param name="ellipse">The ellipse area</param> /// <param name="transform">The transformation to apply to the ellipse</param> public void FillEllipse(Brush brush, Shapes.Ellipse ellipse, GeneralTransform transform) { var worldTransform = transform.GetTransform(); FillEllipse(brush, ellipse, Matrix3x2.Identity, worldTransform); }
/// <summary> /// Draws an ellipse on the DrawingLayer with the given brush /// </summary> /// <param name="brush">The brush to fill</param> /// <param name="ellipse">The ellipse area</param> /// <param name="strokeWidth">The width of the stroke</param> /// <param name="transform">The transformation to apply to the ellipse</param> public void DrawEllipse(Brush brush, Shapes.Ellipse ellipse, float strokeWidth, GeneralTransform transform) { var matrixTransform = transform.GetTransform(); DrawEllipse(brush, ellipse, strokeWidth, Matrix3x2.Identity, matrixTransform); }
/// <summary> /// Fills a rounded rectangle on the DrawingLayer with the given brush /// </summary> /// <param name="brush">The brush to fill</param> /// <param name="rectangle">The rounded rectangle area</param> /// <param name="transform">The transformation to apply to the rounded rectangle</param> public void FillRoundedRectangle(Brush brush, RoundedRectangleF rectangle, GeneralTransform transform) { var localTransform = transform.GetTransform(); FillRoundedRectangle(brush, rectangle, Matrix3x2.Identity, localTransform); }