Graphics32 - Drawto canvas on mac lazarus / 39-Graphics ---------------------------------------------------------------------- Flemming · 2013-02-07 17:13 Hi In windows i can use the Bitmap32.Drawto(canvas.handle,x,y); But it's not working on mac os x. I guess it have something to do with the handle ? Do anybody know a way to draw direct on a components canvas from a Tbitmap32 on mac ? ---------------------------------------------------------------------- circular · 2013-02-07 18:28 You can do this by converting the image to a TBitmap before drawing. ---------------------------------------------------------------------- Flemming · 2013-02-10 13:08 I tried with a simple canvas.draw but on mac it's not working when drawing on a TImgView32. Made a little samplecode to test: Code: [Select]  var bm : TBitmap; Begin   bm:=TBitmap.Create;   bm.setsize(30,30);   bm.canvas.brush.color:=clred;   bm.canvas.fillrect(0,0,30,30);   image1.canvas.Draw(10,10,bm);   // Mac and Windows   image32.canvas.Draw(10,10,bm); // Windows only   bm.free; end;