Recent

Author Topic: problem for bitblt in linux  (Read 5759 times)

scottlin_eastek

  • New member
  • *
  • Posts: 7
problem for bitblt in linux
« on: June 14, 2010, 09:23:17 pm »
I need to transfer the image from a dummy BMP canvas to paintbox canvas here is my code :

  bitblt(DispRec.WorkCanvas.handle,0,0,DispRec.CnvW,DispRec.CnvH,DummyBmp.Canvas.Handle,0,0,SRCpaint) ;   

it works for windows platform but doesn't work for linux ,if I change Rop to SRCcopy they all works, but i need Srcpaint modenwork for linux

can anyone tell me what is going on?


Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2519
Re: problem for bitblt in linux
« Reply #1 on: June 15, 2010, 03:27:31 am »
Probably not implemented. BitBlt has to may different modes to be emulated on non windows platforms
(otoh, a generic ROP bits based implementation should be doable, but first some rewrites)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018