Search code examples
cocoacanvassketchapp

What type of canvas is used by SketchApp, PaintCode or Monodraw - Cocoa


I am wondering what type of drawing canvas is used by SketchApp, PaintCode or Monodraw ...

Image View, OpenGL View, a Custom View ?

I like the fact that we can zoom, translate and select object in this canvas (but I guess it's handmade features).

So, what do you think is the best way to achieve this in Cocoa ?

Sketch Canvas


Solution

  • As for PaintCode, we use NSScrollView with OpenGL view inside for custom multithreaded tiling. The actual content is drawn using CoreGraphics, so what you see in PaintCode is what you get in your app.