summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/gimpgrad.cpp
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-11-10 18:57:54 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-11-10 18:57:54 +0000
commitdc6c4dc337aa2ad766cada2eb06fe4c186a89d14 (patch)
tree3fc8d3fd109b7c89751183b8be880e856be5ff34 /src/extension/internal/gimpgrad.cpp
parentMerge branch 'master' into powerpencil (diff)
parentRemoving regects (diff)
downloadinkscape-dc6c4dc337aa2ad766cada2eb06fe4c186a89d14.tar.gz
inkscape-dc6c4dc337aa2ad766cada2eb06fe4c186a89d14.zip
Merge branch 'master' into powerpencil
Diffstat (limited to 'src/extension/internal/gimpgrad.cpp')
-rw-r--r--src/extension/internal/gimpgrad.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/internal/gimpgrad.cpp b/src/extension/internal/gimpgrad.cpp
index 8c348dfbb..e6a429d34 100644
--- a/src/extension/internal/gimpgrad.cpp
+++ b/src/extension/internal/gimpgrad.cpp
@@ -35,7 +35,7 @@ namespace Internal {
/**
\brief A function to allocate anything -- just an example here
\param module Unused
- \return Whether the load was sucessful
+ \return Whether the load was successful
*/
bool GimpGrad::load (Inkscape::Extension::Extension */*module*/)
{
@@ -106,10 +106,10 @@ static Glib::ustring stop_svg(ColorRGBA const in_color, double const location)
of entries just reading until it fails.
The other small piece of trickery here is that GIMP gradients define
- a left possition, right possition and middle possition. SVG gradients
- have no middle possition in them. In order to handle this case the
+ a left position, right position and middle position. SVG gradients
+ have no middle position in them. In order to handle this case the
left and right colors are averaged in a linear manner and the middle
- possition is used for that color.
+ position is used for that color.
That is another point, the GIMP gradients support many different types
of gradients -- linear being the most simple. This plugin assumes