summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorGuiu Rocafort <neandertalspeople@gmail.com>2014-03-05 11:37:27 +0000
committerGuiu Rocafort <neandertalspeople@gmail.com>2014-03-05 11:37:27 +0000
commit9ae7e81723f4ea4e2640ed01d55d94e73874804f (patch)
tree8237509cf0d6dc367c05df52995f195afafd1df7 /src/ui/tool/path-manipulator.cpp
parentupdate to trunk (diff)
downloadinkscape-9ae7e81723f4ea4e2640ed01d55d94e73874804f.tar.gz
inkscape-9ae7e81723f4ea4e2640ed01d55d94e73874804f.zip
translations from spanish to english done, it might need a little review, but everything seems ok
(bzr r11950.5.1)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index a6689d93d..1cc075603 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -663,7 +663,7 @@ unsigned PathManipulator::_deleteStretch(NodeList::iterator start, NodeList::ite
nl.erase(start);
start = next;
}
- //spanish: si se borra, reajustamos los tiradores
+ // if we are removing, we readjust the handlers
if(isBSpline(false)){
double pos = 0.0000;
if(start.prev()){
@@ -1182,7 +1182,7 @@ void PathManipulator::_createControlPointsFromGeometry()
}
}
-//spanish: determina si el trazado tiene efecto bspline y el numero de pasos que realiza
+//determines if the trace has a bspline effect and the number of steps that it takes
int PathManipulator::BSplineGetSteps(){
LivePathEffect::LPEBSpline *lpe_bsp = NULL;
@@ -1200,7 +1200,7 @@ int PathManipulator::BSplineGetSteps(){
return steps;
}
-//spanish: determina si el trazado tiene efecto bspline
+// determines if the trace has bspline effect
bool PathManipulator::isBSpline(bool recalculate){
static int BSplineSteps = this->BSplineGetSteps();
if(recalculate){
@@ -1213,7 +1213,7 @@ bool PathManipulator::isBSpline(bool recalculate){
return isBSpline;
}
-//spanish: devuelve la fuerza que le corresponderia a la posicón de un tirador
+// returns the corresponding strength to the position of a handler
double PathManipulator::BSplineHandlePosition(Handle *h){
using Geom::X;
using Geom::Y;
@@ -1231,13 +1231,13 @@ double PathManipulator::BSplineHandlePosition(Handle *h){
return pos;
}
-//spanish: mueve el tirador a la posición que le corresponda
+// moves the handler to the corresponding position
Geom::Point PathManipulator::BSplineHandleReposition(Handle *h){
double pos = this->BSplineHandlePosition(h);
return BSplineHandleReposition(h,pos);
}
-//spanish: mueve el tirador a una posición específica
+// moves the handler to the specified position
Geom::Point PathManipulator::BSplineHandleReposition(Handle *h,double pos){
using Geom::X;
using Geom::Y;
@@ -1263,7 +1263,7 @@ Geom::Point PathManipulator::BSplineHandleReposition(Handle *h,double pos){
return ret;
}
-//spanish: mueve los tiradores del nodo y sus tiradores opuestos a la potencia de sus nodos
+//moves the node handlers and its oposite handlers to the strength of its nodes
void PathManipulator::BSplineNodeHandlesReposition(Node *n){
Node * nextNode = n->nodeToward(n->front());
Node * prevNode = n->nodeToward(n->back());