Floodfill in objective c

后端 未结 2 1000
情深已故
情深已故 2020-12-24 03:34

I am trying for a coloring app and to figure out floodfill in objective c anybody did this before..???I am reading all pixel data in a picture and i can change it also..but

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-24 03:58

    Theres lots of source code available for flood fill algos. You can probably find a good one and throw it in a method

    http://www.google.co.uk/search?q=c+flood+fill+algorithm

    If its been written in C/C++ you can use it in Objective-C

提交回复
热议问题