In Code from Class:
- Code: Select all Expand view
- METHOD New( hDC , lNoHighQuality ) CLASS Graphics
::hGraphics = GdiPlusNewGraphics( hDC )
SetPageUnit2Pixel( ::hGraphics ); //NEW !! Unit to Pixel
...
Add this function in Code from gdiplus.cpp:
- Code: Select all Expand view
- 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!?