Hello everybody!
I have used The SetMapMode function in the gdi32 library to define the device context logical unit.
Then, I have used movetoex and lineto to draw line.
I want to have a mm_himetric map mode.
the problem is when map mode is the default map mode (mm_text), the line is drawn but if it is mm_himetric mode or else, it is in lowerleft bound of the picturebox where drawn a filled square.
Is there a missing function or what is the matter?
Thanks a lot.
this is the code.
I have used The SetMapMode function in the gdi32 library to define the device context logical unit.
Then, I have used movetoex and lineto to draw line.
I want to have a mm_himetric map mode.
the problem is when map mode is the default map mode (mm_text), the line is drawn but if it is mm_himetric mode or else, it is in lowerleft bound of the picturebox where drawn a filled square.
Is there a missing function or what is the matter?
Thanks a lot.
this is the code.