Working on an image editor - what tools to implement?

Discussion in 'Mac Programming' started by wrldwzrd89, Nov 23, 2008.

  1. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #1
    Hey, all. I'm working on a simple "MSPaint-like" image editor. I'm at the point where I should start implementing tools. What would make the most sense to start with? Rectangle tool? Ellipse? Fill brush? I ask because implementing some tools will make adding other tools easier - in that a working tool implementation can be used to test the tools within.
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Depends. Is it going to be vector based or not? I assume not from the MS Paint reference.
     
  3. wrldwzrd89 thread starter macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #3
    You are correct, it is raster-based.
     
  4. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #4
    I should point out I've never done any work on image editors before first.

    Personally I would do the free hand tools first as they do not make use of the geometric shapes but do make use of the drawing code. Then you can make use of that code to build the shape tools.

    I could be way out on that but it seems reasonably logical for this time of night :).
     
  5. wrldwzrd89 thread starter macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #5
    Thank you very much for the suggestion! Your idea sounds very much like the right way to go, so that's what I'll do.
     

Share This Page