public enum TPosisioning
{
Static = 1,
Absolute = 2,
Relative = 3,
Fixed = 4,
}
public class TDrawingNode
{
public string Text;
public string Id;
public int X, Y, W, H, ZIndex;
public bool Movable, Transferable;
public bool Resizable;
public TPosisioning Posisioning;
public List<TDrawingNode> SubNodes;
}
I have a c# class in which some elements are stored and each element has sub nodes, x,y,w,h, and Positioning.
I want to draw them by
SVG Elements.
BTW Browsers have an algorithm to draw HTML Elements,
I need that algorithm which calculate nodes's x,y for drawing.
Where to find the best solution or library for that?
Any suggestion would be appreciated.
Thanks in advance.
Jamal.