Hi,
There are several .png files. I need to get the DC of each of these files and put it in a specific position on my application window. How can I do this ?
Natter wrote:There is a picture file of 1920x1080. For example, I need a rectangular fragment {900,500,1000,600}
function FW_TransformBitmap( hBmp, [aCrop], [nZoom], [nRotate], [nBkClr] )
hBmp := oWnd:ReadImage( cPngFile )[ 1 ]
hCropBmp := FW_TransformBitmap( hBmp, aCropRect )
DeleteObject( hBmp )
oWnd:DrawImage( hCropBmp, aRect )`
DeleteObject( hCropBmp )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: W3C [Validator] and 72 guests