Beispiel #1
0
        public virtual void FillRectangle(Brush brush, float x, float y, float width, float height)
        {
            RectangleF rectangle = matrix.Transform(new RectangleF(x, y, width, height));

            graphics.FillRectangle(brush, (int)rectangle.X, (int)rectangle.Y, (int)rectangle.Width, (int)rectangle.Height);
        }