Results 1 to 3 of 3

Thread: Can Someone Explain LockBits to me?

  1. #1

    Thread Starter
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Can Someone Explain LockBits to me?

    Howdy all,

    I understand how LockBits works mostly, but I wonder if this is a possibility.

    With lockbits, is it possible to reference a pixel (x-1), (y-1) of the current pixel? If so, how? From what I understand you can only reference forwards in the Scan line ... is there a workaround?

    Can anyone explain it a little better?

    TIA

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Can Someone Explain LockBits to me?

    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Can Someone Explain LockBits to me?

    That kind of helps. The method of using the Marshal class makes things a bit easier. I'll see if I can work off that...thanks Jy

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width