[solved] Spaces between fill color and linework?

Post questions on how to use or achieve an effect in Inkscape.
samxyouxwell
Posts: 4
Joined: Sun Jun 15, 2008 3:20 am

[solved] Spaces between fill color and linework?

Postby samxyouxwell » Sun Jun 15, 2008 3:34 am

Hi, I'm having some frustration with troubles with the fill of objects. When I draw out whatever I want to illustrate (using bezier curves and lines), then I click in a space with the paint bucket to fill it, it only fills the majority of it. Around the edge of the color (between the fill and the line) there is still whitespace, so I try to fill that up with the stroke but that makes an extra line plus an extra whitespace. Also, in corners of things I'm trying to color, it makes the fill color into a rounded corner instead of filling the corner in completely all the way to the lines.

For example, here is my first illustration i've made in Inkscape.
viewtopic.php?f=8&t=1126
As you can see, around the black lines there is a bit of a grainy white outline. This gets annoying (even if others dont notice it) to me because I know it's there so it never seems finished.

Is there a setting I need to put to get it to COMPLETELY fill it? Or am I going about it all wrong, with bezier curves and fills with the paint bucket?

Thanks.

Simarilius
Posts: 626
Joined: Wed Jun 06, 2007 2:37 am

Re: Spaces between fill color and linework?

Postby Simarilius » Sun Jun 15, 2008 3:42 am

If its a closed bezier shape you can just use the fill tab of the fill/stroke dialog to set a fill, you dont have to use the paint bucket.
If its a case of needing the fill then you might want to play with the grow/shrink optionin the toolbar.

samxyouxwell
Posts: 4
Joined: Sun Jun 15, 2008 3:20 am

Re: Spaces between fill color and linework?

Postby samxyouxwell » Sun Jun 15, 2008 9:58 am

okay, here's a more detailed example of what's happening. this is really bugging me so anyone who can help, its much appreciated.

Image

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Spaces between fill color and linework?

Postby microUgly » Sun Jun 15, 2008 10:31 am

This effect is by design. Read how :tool_paintbucket: works to get an understanding of why it behaves like this and how to work around it.

Note that even in your example, there's no reason why you should use :tool_paintbucket: instead of the fill property on both objects.

User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Re: Spaces between fill color and linework?

Postby EarlyBlake » Sun Jun 15, 2008 5:49 pm

Like the other guys said:There are two ways to fill a closed path. One the buck tool :tool_paintbucket: . Two fill/stroke dialog boxes. Don't use the paint bucket use the other one.

See picture below:

Image

User avatar
sas
Posts: 404
Joined: Sat Oct 06, 2007 5:42 am

Re: Spaces between fill color and linework?

Postby sas » Sun Jun 15, 2008 6:32 pm

samxyouxwell wrote:because since it is not a closed bazier, you cannot use the fill dialog

You can close it by extending the path (drawing over the first shape). Then use the Fill and Stroke dialog to fill the new shape. Then lower the new shape so that it's behind the old one.

SureWhyNot

Re: Spaces between fill color and linework?

Postby SureWhyNot » Mon Jun 16, 2008 4:25 am

It's a little time consuming and tedious, but you can achieve the effect you want without using the paint bucket. It's much more precise and editable, and it usually uses fewer nodes, so the strain on your computer is less. Here's the basic technique.

1. Make your lineart. Do NOT use a fill with any objects.
2. Create a second layer Under your line art.
3. LOCK the lineart, but keep it visible
3. Using the 'pen' tool, make a closed shape that roughly lies under what you want colored. (You'll have to ADD fill and turn OFF the stroke for this second layer.)
4. Zoom in and extend the shape to the edges of the lineart above. You don't have to be perfectly precise (especially with thicker lines), just make sure that you don't leave any whitespace.

Remember: You can use the order of the colored layers to save yourself some time. (If you're drawing a guy with an open brown jacket, start by making a big brown shape that covers the whole torso, then add the details like a blue shirt above that background shape. That way, you don't have to break up the jacket into two halves and scoot it around everything.)

samxyouxwell
Posts: 4
Joined: Sun Jun 15, 2008 3:20 am

Re: Spaces between fill color and linework?

Postby samxyouxwell » Mon Jun 16, 2008 1:02 pm

hmm. okay. thanks for everyones replies! I think sas' response is what i'll try from now on. it just seems both least time consuming and sounds like it will give me the results im looking for.
thanks for clearing it up!

User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Re: Spaces between fill color and linework?

Postby EarlyBlake » Mon Jun 16, 2008 4:48 pm

SureWhyNot wrote:It's a little time consuming and tedious, but you can achieve the effect you want without using the paint bucket. It's much more precise and editable, and it usually uses fewer nodes, so the strain on your computer is less. Here's the basic technique.

1. Make your lineart. Do NOT use a fill with any objects.
2. Create a second layer Under your line art.
3. LOCK the lineart, but keep it visible
3. Using the 'pen' tool, make a closed shape that roughly lies under what you want colored. (You'll have to ADD fill and turn OFF the stroke for this second layer.)


If the line art is already a path... What is the advantage (i.e. time saver) of this technique over using the boolean tools to make you line art in to closed path objects? Seems like you are drawing every thing twice rather than, CTR D-ing a path then doing an excultion, intersection etc.

SureWhyNot

Re: Spaces between fill color and linework?

Postby SureWhyNot » Mon Jun 16, 2008 11:35 pm

There are cases when you can't use the standard "fill" attribute to achieve what you want.

For example, you have four squares. They are positioned in a way that creates a 5th square, but you can't use fill on that extra square because it is NOT a path.

That's the whole point of the bucket tool, right? :|

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Spaces between fill color and linework?

Postby microUgly » Tue Jun 17, 2008 10:12 am

That's right. It's there to fill areas that aren't defined by a single path.


Return to “Help with using Inkscape”