Jump to content

Questions About Custom Shapes


Recommended Posts

Hello. :)

 

Is there a way to make shapes using inkscape, avoid coding, and yet have them be compatible with paint.net and use them as custom shapes?

 

Is there a format I need to save inkscape's shapes in?

 

Would or could I make shapes in inkscape and then use the Shapes Maker plugin to convert the shapes or load the shapes?

 

Thanks.

 

 

Link to comment
Share on other sites

If Inkscape can generate an SVG path you can copy that directly into ShapeMaker.

 

Paste Path Stream

Paste Path Stream is used to copy SVG Shapes into ShapeMaker. Simply copy the SVG code between

the Path tags then hit File > Paste Path Stream to paste the Shape into the Drawing grid and Path List.

Paste Path is capable of interpreting StreamGeometry strings which are a lightweight version of

PathGeometry strings. Both can appear in XAML files - but only StreamGeometry can be parsed by

ShapeMaker. Users attempting to paste in PathGeometry strings will get a "Bad Format" error even

though there is nothing 'wrong' with the string.

Link to comment
Share on other sites

Thanks for an answer.
 
But, I wanted to avoid coding because I have no idea how to code or where to get codes. If you're going to talk code, then what is a path stream? What is a path tag? How do I find out if inkscape has SVG code and then where do I get it?
 
I was hoping for an answer that doesn't need coding, and I was hoping the answer would help me as well as others who may be interested in making shapes in inkscape and then importing them into paint.net's "custom shapes", without the knowledge of coding.

Link to comment
Share on other sites

There is no easy way in the moment.

Typically the content of an SVG file (the standard file format of Inkscape) is much too complex to map it to a simple paint.net xaml shape.

This is even true for simple svg icons.

 

There is only one simple case. If your svg file contains a single <path> element with a <d> element then you can copy the attribute of the <d> (a string containing line points) to the <Geometry> element of a xaml file.

 

The previous sentence tells you that even the simple case would need a long explanation to the user.

midoras signature.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...