( edit: issue fixed. now extension working fine as intended.)
hey Inkscapers and developers,
I created an extesion that automatically create a exactly canvas sized rectangle. ( got inspired by CorelDraw's double click on rectangle tool and create canvas size rectangle feature. )
I've sucessfully implemented that feature and it works..!! But, the problem is when I change the document type ( let's say, A4 to business card US ) then it creates exactly canvas sized rectangle. but, my x and y axis not fit on that canvas.
( edit: issue fixed. now extension working fine as intended.)
hey Inkscapers and developers,
I created an extesion that automatically create a exactly canvas sized rectangle. ( got inspired by CorelDraw's double click on rectangle tool and create canvas size rectangle feature. )
I've sucessfully implemented that feature and it works..!! But, the problem is when I change the document type ( let's say, A4 to business card US ) then it creates exactly canvas sized rectangle. but, my x and y axis not fit on that canvas.
I need to create a rectangle exactly on a canvas.
When you change page size a transform="translate(x,y)" attirbute is applied to all layers by Inkscape.
Either you need to shift the rectangle accordingly, or put into a new layer / under the SVG root.