This will definitely make the results of subsequently using this extension unpredictable. Especially: if you edit a path generated with the Calligraphy tool, the L position of the L commands inside the "d" attribute is not necessarily maintained.If the extension is applied to anything else but a path just created with the Calligraphy tool, its behaviour will probably not be what you would like.In case the observation about "just two L commands being present inside a Calligraphy-tool generated path" is wrong, the extension will not produce the expected result.delete the original path from the document.put a copy of the original path inside the group (so that the original path is displayed in front of the created "fill" area).first put the duplicate path in that group.create a "g" element in the document, just before the presently selected path.give a default style of "fill navy blue - no line" to that new path.in the "d" attribute of that copied path: truncate away everything happening after the first "L" command encountered inside that attribute.create a copy of the current "path" element.loop through each of the paths you selected before calling the extension.This extension was built on the observation that the Calligraphy tool creates a path that starts at the point where you started to draw, and is apparently completely made of curves (C commands in the "d" attribute of the created path element) - except for two lines (L commands in the "d" attribute): one marking the end of the stroke you drew (about mid way through the "d" element"), and one at the beginning of the stroke (last command in the "d" element before the final "z" command). Or you can try using the Python extension with source code below. You can manually copy the calligraphed outline and edit the dots it is made of to just remove the inner dots to obtain a path covering the area you are interested in, then apply the Fill tool to that new path. However, filling the interior area of such a calligraphed outline is not so easy: if you try to apply the Fill tool to the path you just created, you are actually changing the style of the outline stroke itself - not that of the area it encloses. Graphic Tablet users using the Calligraphy tool can easily draw sketches with variable width outlines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |