PATH: Behind-fill stroke

Bug #170118 reported by Kidproto
This bug report is a duplicate of:  Bug #171636: Multiple object/group strokes. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

I'd like to suggest a new stroke style setting, known
as "behind-fill" in the Corel Draw world IIRC. With
this setting enabled, the object being stroked would
always be completely visible, regardless of the stroke
thickness. In other words, the object would always be
drawn on top of its stroke. This can be simulated by
duplicating the object and placing the unstroked
duplicate directly on top of the stroked original and
grouping them, but this has to be repeated every time
you change the object, and it tends to mess up the
alpha blending anyway.

Actually, I'm planning to implement this myself, once
I'm familiar enough with the Sodipodi code and the SVG
spec. I'm just posting this here in case anybody has
any relevant comments or tips.

BTW, this feature may require converting strokes to
shapes (first-class objects, so to speak), which I
believe has been requested elsewhere. If anybody has
any experience with this, I'd appreciate any feedback
he/she can provide.

Thanks for reading.

KIDPROTO: We should be able to get effect with a
full-featured path offset, but I can see the benefit of
not having to convert fonts and some shapes to editable
outlines in favor of having this. I don't know if it is
supported by the SVG spec though. I just scanned the
SVG spec and saw no mention of being able to move the
line behind the fill. Can someone else corroborate
this. If this is the case, we should close this RFE.

( NOTE: originally in sodipodi RFE tracker as RFE #
838500 , Date Submitted: 2003-11-08 10:01 )

Tags: other
Revision history for this message
dcberg (david-sipsolutions) wrote :

I was just thinking about submitting a feature request like
this. What I'm looking for is not the path behind fill
option corel has it, because it fails on you, when you apply
transparency to a object but not the path. You then see half
the path, which you didn't want to see after all.
So I'm looking for a stroke-offset option as you named it.
Basically there only must be three possibilities of placing
the stroke: Centered to the objetct outline (as it is now),
inside the object outlines and outside the object outlines.
I'm not sure if this is supported by the svg specs in
anyway, but hope it is :)

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

There's no behind-the-fill stroke in SVG AFAIK. Implementing
it would therefore be very messy and fragile, if possible at
all. Offset is the way to go, we now have it and it works.

Revision history for this message
TECLAUIN (demonioteclauinbel) wrote :

That means that for double duty playing the object and remove the line, such that inkscape corel replaces that would be a lie

Revision history for this message
sas (sas-sas) wrote :

If the ancient working draft is anything to go by, behind-fill strokes will be possible in SVG 1.2 Full using vector effects.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.