Quantcast
Viewing all articles
Browse latest Browse all 3755

Advice App architecture for working with Canvas

Hi there,

I need an advice on how to structure a little app that I am trying to develop for myself.

The purpose of the app is to load a technical drawing (tif, jpeg) in a canvas and to draw vector based shapes (lines, circle…) on top of it with the ability to edit it afterward.

What about:
A Canvas for the drawing (Canvas1)
A second canvas (Canvas2) with transparency on top of it containing all the vector shapes
Keep each vector shape in a database table (each property like x, y width, height, color etc… being stored in a record)

Obviously when scrolling or resizing the Canvas1, the Canvas2 would have to be synchronised.

A REAL challenge for me Image may be NSFW.
Clik here to view.
:slight_smile:

Thanks for any advice

14 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3755

Trending Articles