>     winMask  = --> dst = src & !dst --> masking
>     winErase = --> dst = src & dst  --> cropping

  my booboo..

  for starters:

    dst = dst & !src;
    dst = dst & src;     <-- this is how it was done in pre 3.5

  for 3.5 and later, you can check the implementation of the winMask
  and winErase functions (in the source code) but basically, it is
  as follows:

    winErase: // aka "crop"
      // if source pixel is off, set destination pixel to background color

    winMask: 
      // if source pixel is on, set detination pixel to background color

  those last two statements should clarify what you were having a problem
  with.. unforunately, the good old scrAND and scrANDNOT versions of this
  are no longer in place.

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to