Answer the question
In order to leave comments, you need to log in
Top left corner of image c#?
public void CreateSquare(int w, int h)
{
// нарезка изображения на квадраты типа bmp
Rectangle REct = new Rectangle(X, Y, w, h);
Bitmap bmpSquate = (Bitmap)bmp.Clone(REct,System.Drawing.Imaging.PixelFormat.DontCare);
}
Answer the question
In order to leave comments, you need to log in
The coordinates start from the upper left corner, not from the middle.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question