When I write next code:
Matrix matrix = new Matrix();
matrix.Translate(-deltaX, -delta, MatrixOrder.Append);
graphics.Transform = matrix;
hDC = graphics.GethDC
and after that if I will draw on this hDC using GDI function, it will ignore
transform matrix, so line from 20,20 to 30, 30 will be from 20, 20 to 30,
30, but it should be from 20 - deltax, 20 - deltaY to 30 - deltaX, 30 -
deltaY.
Is it possible to use GDI functions with transform without calling
SetWorldTransform (SetWorldTransform works only on Windows NT family) ?
Regards,
Vladimir
Bob.
--
Check out the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
"Vladimir Cheverdyuk" <no spam vladimir....@altium.com.au> wrote in
message news:u4zNqEpE...@TK2MSFTNGP11.phx.gbl...