Author Topic: DelphiX and simple image copy  (Read 758 times)

Offline CoolCoder

  • Imaging User
  • *
  • Posts: 1
    • View Profile
DelphiX and simple image copy
« on: 25 May 2010, 17:05:23 »
Hi.

I have a surface, I draw some graphics on the surface by using FillRect and sort of stuff. How can I "copy" a piece of the surface and store that into an item in my DXImageList ? I know how to create the imagelist item, but I don't know how to copy.

DXImageList.Item.Add;
DXImageList.Item[DXImageList.Item.Count-1].Picture (and so forth..)

But how can I copy a rectangular chunk off the surface and store it into the dximagelist item that I just created? Preferably in the fastest possible way. I have pixels set with alphachannel in the surface, can I store the alphachannel too?

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 312
    • View Profile
    • Galfar's Homepage
Re: DelphiX and simple image copy
« Reply #1 on: 16 June 2010, 14:45:37 »
Sorry but this is not a DelphiX forum, try one of those. Or maybe some member here knows DelphiX well?