title: Scanline Flood Fill Algorithm for iPad
body: <p>I try to use <a href="https://github.com/Chintan-Dave/UIImageScanlineFloodfill" rel="nofollow">https://github.com/Chintan-Dave/UIImageScanlineFloodfill</a> ,but when image have another resolution than 640x640 , flood fill work bad, it filling wrong area with some shift which dependent from resolution big or small from 640x640.</p>
  
  <p>When I delete multiplication touch points code:
  "
      tpoint.x = tpoint.x * 2 ;
      tpoint.y = tpoint.y * 2 ;
  "
   from template in "FloodFillImageView" class. It's start work for iPad, but again only for 640x640.</p>
  
  <p>Can somebody explain what I missed and why this code work not for all resolution and have problem with fill for different devices.
  And of course Im glad to see maybe some code to solve my issue or what I must changed in this code, or some explanation how to make it work.</p>