I'm not sure if the question is too trivial but, I need to use the following overload of the method Graphics.DrawImage
:
public void DrawImage(
Image image,
PointF[] destPoints,
RectangleF srcRect,
GraphicsUnit srcUnit,
ImageAttributes imageAttr
)
I have a RectangleF
as destination rectangle, so I need to convert the RectangleF
to PointF[]
but the example in the MSDN confused me a little bit because it only uses three points to define a parallelogram.
How could I do it?
Thanks in advance