rearranging bitmapdata efficient

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Heureka
    New Member
    • Sep 2010
    • 1

    #1

    rearranging bitmapdata efficient

    Hi

    I have a Panel in which I'm displaying a bitmap. I have access to a pointer to the bitmapdata and I whish to have the bitmap shifted circularly.

    I can do this by copying data around using a loop (possibly two loops) but I'm hoping this can be done using some GDI method. I was hoping that I could mask out two sections of the full bitmap (the section inside the panel frame and the section that resides outside the panel frame) and then get them into place but I can't find any methods that support that.

    Can someone please give me advice on how to do the shifting?

    BTW. I dont have any options but the panel/bitmapdata way!

    Thanks
    Tom
Working...