Antonio, in Gdiplus-class we must set the Units to Pixel. Printing are not correct in Pixels, as the Printers are different in DPI.
In Code from Class:
Add this function in Code from gdiplus.cpp:
Antonio, i had sent to you a privat E-Mail for updating my FWH but no answer!?
In Code from Class:
METHOD New( hDC , lNoHighQuality ) CLASS Graphics
::hGraphics = GdiPlusNewGraphics( hDC )
SetPageUnit2Pixel( ::hGraphics ); //NEW !! Unit to Pixel
...Add this function in Code from gdiplus.cpp:
HB_FUNC( SETPAGEUNIT2PIXEL )
{
Graphics * graphics = ( Graphics * ) hb_parnl( 1 );
graphics->SetPageUnit(UnitPixel); //Unit to Pixel
}Antonio, i had sent to you a privat E-Mail for updating my FWH but no answer!?