P
Piotrekk
Hi
Graphics pea = e.Graphics;
Point [] ptTable = { pictureBox1.Location , new
Point(pictureBox1.Location.X +
pictureBox1.Width,pictureBox1.Location.Y + pictureBox1.Height) };
pea.DrawLines(new Pen(Brushes.Black, 1), ptTable);
Line is simply drawn not from the 0,0 where control has it's
origin....
Does anyone know why this happens?
same situation is when i try to use pea.DrawImage
Pixels in left column and upper row are shorter than other pixels...
Graphics pea = e.Graphics;
Point [] ptTable = { pictureBox1.Location , new
Point(pictureBox1.Location.X +
pictureBox1.Width,pictureBox1.Location.Y + pictureBox1.Height) };
pea.DrawLines(new Pen(Brushes.Black, 1), ptTable);
Line is simply drawn not from the 0,0 where control has it's
origin....
Does anyone know why this happens?
same situation is when i try to use pea.DrawImage
Pixels in left column and upper row are shorter than other pixels...