How to generate a circle and a line elements

Post questions on how to use or achieve an effect in Inkscape.
KLMmm
Posts: 1
Joined: Fri Mar 25, 2011 2:24 am

How to generate a circle and a line elements

Postby KLMmm » Fri Mar 25, 2011 2:29 am

Hello,

I would like to use Inkscape to have a SVG with a circle element. I also would like to have a line element.

How can I use inkscape to generate this XML elements? When creating circle and paths, only paths elements are created.

Thanks in advance.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to generate a circle and a line elements

Postby brynn » Fri Mar 25, 2011 4:42 am

Hi KLMmm,
Image
Welcome to InkscapeForum!

Are you talking about using XML/SVG code? Or are you talking about drawing on the canvas? For XML code, I don't know, but if that's what you want, I'll move your topic to that forum.

For drawing on the canvase -- use the circle tool for a circle, and use the Pen or Pencil tool for a line. (I assume you could then open the XML Editor to see the automatically generated code. This might be a way to learn on your own, although I'm only guessing.)

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to generate a circle and a line elements

Postby ~suv » Fri Mar 25, 2011 7:06 am

KLMmm wrote:I would like to use Inkscape to have a SVG with a circle element. I also would like to have a line element.
While Inkscape can render all basic SVG shapes as defined in the SVG 1.1 specification, it does not edit them (without converting to path) nor create <circle>, <ellipse>, <line>, <polyline> or <polygon> objects itself.

See Bug #377982 in Inkscape: “Most of the basic shape elements (SVG 1.1) cannot be edited” and the linked reports in the last comment there.


Return to “Help with using Inkscape”