[Qgis-developer] Outline/border -> stroke?

Nyall Dawson nyall.dawson at gmail.com
Tue Feb 7 01:53:21 PST 2017


On 7 February 2017 at 19:47, Neumann, Andreas <a.neumann at carto.net> wrote:
> Hi,
>
> +1 for renaming to "stroke". "stroke" is also used as the term in SVG / PDF
> specifications - the two most important vector graphic standards.
>
> As a consequence, we would have related terms, such as "stroke-width",
> "stroke-linecap", "stroke-dasharray", etc. See
> https://www.w3.org/TR/2011/REC-SVG11-20110816/painting.html#StrokeProperties
>
> Another candidate would be renaming everything "transparency" with "opacity"
> - but I guess it would be more controversial ;-) And it would mean that
> sliders would have to be reversed, as 100% opacity = 0% transparency.

Very much agree that consistent sliders for this is desirable (whether
it's opacity or transparency).

The issue here is that we potentially break existing projects. While
updating the ui & api can be done, how can we handle user's data
defined opacity/transparency rules?

Nyall


>
> Andreas
>
> On 2017-02-07 09:52, Nyall Dawson wrote:
>
> Hi all,
>
> Following up on one of the points raised by John Hawkison (author of
> the famous "my first weekend with QGIS" email), I'd like to raise
> discussion about renaming all use of outline/border throughout QGIS to
> "stroke".
>
> I've been thinking about this and I'm personally in favour.
>
> Why?
> - the terms border, outline and pen are used inconsistently throughout
> QGIS. Eg a polygon fill has an outline, a simple line has a pen.
> - the API is even worse... these terms are thrown around with no
> logical pattern. Even within single classes we mix and match
> - stroke is a good replacement for all these terms. It's also commonly
> used by most design software instead of border or outline.
>
> Any opinions here? Any objections if I made this change?
>
> Nyall
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
>


More information about the Qgis-developer mailing list