From f8b2ea7ce2b56fdff79ea9ace4fb0ba4737ff9ef Mon Sep 17 00:00:00 2001
From: DSCaskey <31944718+DSCaskey@users.noreply.github.com>
Date: Fri, 26 Jul 2024 22:17:32 -0400
Subject: [PATCH 1/3] fix scroll with delay
---
.../preferencesgraphicsviewpage.cpp | 9 +
.../preferencesgraphicsviewpage.ui | 579 ++++++++++++------
src/libs/tools/images/image_item.cpp | 29 +-
src/libs/vmisc/vcommonsettings.cpp | 28 +-
src/libs/vmisc/vcommonsettings.h | 6 +
.../tools/drawTools/toolcurve/vtoolspline.cpp | 63 +-
.../drawTools/toolcurve/vtoolsplinepath.cpp | 79 ++-
.../toolsinglepoint/vtoolbasepoint.cpp | 132 ++--
src/libs/vtools/tools/pattern_piece_tool.cpp | 118 ++--
src/libs/vwidgets/vcontrolpointspline.cpp | 86 ++-
src/libs/vwidgets/vgraphicssimpletextitem.cpp | 135 ++--
src/libs/vwidgets/vmaingraphicsview.cpp | 228 ++++---
src/libs/vwidgets/vmaingraphicsview.h | 101 +--
13 files changed, 916 insertions(+), 677 deletions(-)
diff --git a/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.cpp b/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.cpp
index b9a3262ed629..ac081e4c8292 100644
--- a/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.cpp
+++ b/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.cpp
@@ -176,6 +176,13 @@ PreferencesGraphicsViewPage::PreferencesGraphicsViewPage (QWidget *parent)
// Navigation preferences
// Show Scroll Bars
ui->showScrollBars_CheckBox->setChecked(qApp->Seamly2DSettings()->getShowScrollBars());
+ ui->autoscroll_CheckBox->setChecked(qApp->Seamly2DSettings()->getAutoScroll());
+ connect(ui->autoscroll_CheckBox, &QCheckBox::stateChanged, this, [this]()
+ {
+ ui->autoScrollSpeed_Slider->setEnabled(ui->autoscroll_CheckBox->isChecked());
+ });
+ ui->autoScrollSpeed_Slider->setValue(qApp->Seamly2DSettings()->getAutoScrollSpeed());
+ ui->autoScrollSpeed_Slider->setEnabled(ui->autoscroll_CheckBox->isChecked());
// Scroll Bar Width
ui->scrollBarWidth_SpinBox->setValue(qApp->Seamly2DSettings()->getScrollBarWidth());
@@ -358,6 +365,8 @@ void PreferencesGraphicsViewPage::Apply()
// Navigation preferences
// Scroll Bars
settings->setShowScrollBars(ui->showScrollBars_CheckBox->isChecked());
+ settings->setAutoScroll(ui->autoscroll_CheckBox->isChecked());
+ settings->setAutoScrollSpeed(ui->autoScrollSpeed_Slider->value());
settings->setScrollBarWidth(ui->scrollBarWidth_SpinBox->value());
settings->setScrollDuration(ui->scrollDuration_SpinBox->value());
settings->setScrollUpdateInterval(ui->scrollUpdateInterval_SpinBox->value());
diff --git a/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui b/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui
index 1967611a2f04..3e3adc288a56 100644
--- a/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui
+++ b/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui
@@ -75,7 +75,7 @@
QTabWidget::West
- 4
+ 3
@@ -1811,11 +1811,11 @@
Navigation
-
+
-
+ 00
@@ -1844,7 +1844,7 @@
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
-
+
@@ -1873,183 +1873,16 @@
-
+
+
+ Autoscroll
+
+
+
+
+
-
-
-
- 0
- 0
-
-
-
-
- 110
- 14
-
-
-
-
- 9
-
-
-
- Width:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
-
-
-
-
- 80
- 16777215
-
-
-
-
- 9
-
-
-
- background-color: rgb(255, 255, 255);
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- px
-
-
- 8
-
-
- 20
-
-
- 10
-
-
-
-
-
-
-
- 110
- 0
-
-
-
-
- 9
-
-
-
- Duration:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
-
-
-
-
- 80
- 16777215
-
-
-
-
- 9
-
-
-
- Scrolling animation duration
-
-
- background-color: rgb(255, 255, 255);
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- ms
-
-
- 100
-
-
- 1000
-
-
- 300
-
-
-
-
-
-
-
- 110
- 0
-
-
-
-
- 9
-
-
-
- Update interval:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
-
-
-
-
- 80
- 16777215
-
-
-
-
- 9
-
-
-
- Time in milliseconds between each animation update
-
-
- background-color: rgb(255, 255, 255);
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- ms
-
-
- 10
-
-
- 100
-
-
- 30
-
-
-
-
-
+ 110
@@ -2069,10 +1902,10 @@
-
-
+
+
-
+ 10
@@ -2090,14 +1923,23 @@
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+ 0
+
-
+
+
+
+ 0
+ 0
+
+ 225
- 0
+ 22
@@ -2165,16 +2007,16 @@ border-radius: 4px;
}
- 10
+ 0
- 100
+ 400
- 20
+ 160
- 20
+ 160Qt::Horizontal
@@ -2182,7 +2024,7 @@ border-radius: 4px;
-
+ 10
@@ -2197,8 +2039,8 @@ border-radius: 4px;
+
-
- 0
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
@@ -2206,6 +2048,349 @@ border-radius: 4px;
+
+
+
+ Mouse wheel
+
+
+
+
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 100
+ 14
+
+
+
+
+ 9
+
+
+
+ Width:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+
+
+
+
+ 80
+ 16777215
+
+
+
+
+ 9
+
+
+
+ background-color: rgb(255, 255, 255);
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ px
+
+
+ 8
+
+
+ 20
+
+
+ 10
+
+
+
+
+
+
+
+ 100
+ 0
+
+
+
+
+ 9
+
+
+
+ Duration:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+
+
+
+
+ 80
+ 16777215
+
+
+
+
+ 9
+
+
+
+ Scrolling animation duration
+
+
+ background-color: rgb(255, 255, 255);
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ ms
+
+
+ 100
+
+
+ 1000
+
+
+ 300
+
+
+
+
+
+
+
+ 100
+ 0
+
+
+
+
+ 9
+
+
+
+ Update interval:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+
+
+
+
+ 80
+ 16777215
+
+
+
+
+ 9
+
+
+
+ Time in milliseconds between each animation update
+
+
+ background-color: rgb(255, 255, 255);
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ ms
+
+
+ 10
+
+
+ 100
+
+
+ 30
+
+
+
+
+
+
+
+ 100
+ 0
+
+
+
+
+ 9
+
+
+
+ Speed:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+
+
+
+
+
+
+ 10
+ 16777215
+
+
+
+
+ 9
+
+
+
+ -
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+
+
+
+
+ 225
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ QSlider::groove:horizontal {
+border: 1px solid #bbb;
+background: white;
+height: 10px;
+border-radius: 4px;
+}
+
+QSlider::sub-page:horizontal {
+background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
+stop: 0 #66e, stop: 1 #bbf);
+background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,
+stop: 0 #bbf, stop: 1 #55f);
+border: 1px solid #777;
+height: 10px;
+border-radius: 4px;
+}
+
+QSlider::add-page:horizontal {
+background: #fff;
+border: 1px solid #777;
+height: 10px;
+border-radius: 4px;
+}
+
+QSlider::handle:horizontal {
+background: qlineargradient(x1:0, y1:0, x2:1, y2:1,
+stop:0 #eee, stop:1 #ccc);
+border: 1px solid #777;
+width: 13px;
+margin-top: -2px;
+margin-bottom: -2px;
+border-radius: 4px;
+}
+
+QSlider::handle:horizontal:hover {
+background: qlineargradient(x1:0, y1:0, x2:1, y2:1,
+stop:0 #fff, stop:1 #ddd);
+border: 1px solid #444;
+border-radius: 4px;
+}
+
+QSlider::sub-page:horizontal:disabled {
+background: #bbb;
+border-color: #999;
+}
+
+QSlider::add-page:horizontal:disabled {
+background: #eee;
+border-color: #999;
+}
+
+QSlider::handle:horizontal:disabled {
+background: #eee;
+border: 1px solid #aaa;
+border-radius: 4px;
+}
+
+
+ 10
+
+
+ 100
+
+
+ 20
+
+
+ 20
+
+
+ Qt::Horizontal
+
+
+
+
+
+
+
+ 10
+ 16777215
+
+
+
+
+ 9
+
+
+
+ +
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
@@ -2267,9 +2452,9 @@ border-radius: 4px;
-
+
-
+ 110
@@ -2290,9 +2475,9 @@ border-radius: 4px;
-
+
-
+ 10
@@ -2405,7 +2590,7 @@ border-radius: 4px;
-
+ 10
diff --git a/src/libs/tools/images/image_item.cpp b/src/libs/tools/images/image_item.cpp
index 644e60cda011..74760d55cdac 100644
--- a/src/libs/tools/images/image_item.cpp
+++ b/src/libs/tools/images/image_item.cpp
@@ -451,10 +451,10 @@ void ImageItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
}
// Special for not selectable item first need to call standard mousePressEvent then accept event
- //QGraphicsItem::mousePressEvent(event);
+ // QGraphicsItem::mousePressEvent(event);
// Somehow clicking on non selectable object does not clear previous selections.
- if (not (flags() & ItemIsSelectable) && scene())
+ if (!(flags() & ItemIsSelectable) && scene())
{
scene()->clearSelection();
}
@@ -497,7 +497,7 @@ void ImageItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
{
prepareGeometryChange();
- if (flags() & QGraphicsItem::ItemIsMovable && event->buttons() & Qt::LeftButton)
+ if (flags() & QGraphicsItem::ItemIsMovable && event->button() == Qt::LeftButton)
{
m_image.xPos = mapToScene(event->pos() - m_offset).x();
m_image.yPos = mapToScene(event->pos() - m_offset).y();
@@ -506,6 +506,29 @@ void ImageItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
updateImage();
scene()->update();
}
+
+ // Each time an item is moved the scene rect is recalculated. In some cases this can cause infinite redrawing
+ // That's why we wait till the scene is finished drawing before scrolling again.
+ static bool changeFinished = true;
+
+ if (changeFinished)
+ {
+ changeFinished = false;
+
+ const QList viewList = scene()->views();
+ if (!viewList.isEmpty())
+ {
+ if (VMainGraphicsView *view = qobject_cast(viewList.at(0)))
+ {
+ // Ensure only small rect around a cursor is visible.
+ VMainGraphicsScene *currentScene = qobject_cast(scene());
+ SCASSERT(currentScene)
+ const QPointF cursorPosition = currentScene->getScenePos();
+ view->ensureRectVisible(QRectF(cursorPosition.x() - 5, cursorPosition.y() - 5, 10, 10));
+ }
+ }
+ changeFinished = true;
+ }
}
//---------------------------------------------------------------------------------------------------------------------
diff --git a/src/libs/vmisc/vcommonsettings.cpp b/src/libs/vmisc/vcommonsettings.cpp
index 81c84a3d5198..d561fb84a055 100644
--- a/src/libs/vmisc/vcommonsettings.cpp
+++ b/src/libs/vmisc/vcommonsettings.cpp
@@ -127,6 +127,8 @@ const QString settingGraphicsViewShowDetailsToolBar = QStringLiteral("graph
const QString settingGraphicsViewShowLayoutToolBar = QStringLiteral("graphicsview/showLayoutToolbar");
const QString settingGraphicsViewShowScrollBars = QStringLiteral("graphicsview/showScrollBars");
+const QString settingGraphicsViewAutoScroll = QStringLiteral("graphicsview/autoScroll");
+const QString settingGraphicsViewAutoScrollSpeed = QStringLiteral("graphicsview/autoScrollSpeed");
const QString settingGraphicsViewScrollBarWidth = QStringLiteral("graphicsview/scrollBarWidth");
const QString settingGraphicsViewScrollDuration = QStringLiteral("graphicsview/scrollDuration");
const QString settingGraphicsViewScrollUpdateInterval = QStringLiteral("graphicsview/scrollUpdateInterval");
@@ -921,7 +923,7 @@ void VCommonSettings::setShowLayoutToolBar(const bool &value)
//---------------------------------------------------------------------------------------------------------------------
bool VCommonSettings::getShowScrollBars() const
{
- return value(settingGraphicsViewShowScrollBars, 1).toBool();
+ return value(settingGraphicsViewShowScrollBars, true).toBool();
}
//---------------------------------------------------------------------------------------------------------------------
@@ -930,6 +932,30 @@ void VCommonSettings::setShowScrollBars(const bool &value)
setValue(settingGraphicsViewShowScrollBars, value);
}
+//---------------------------------------------------------------------------------------------------------------------
+bool VCommonSettings::getAutoScroll() const
+{
+ return value(settingGraphicsViewAutoScroll, true).toBool();
+}
+
+//---------------------------------------------------------------------------------------------------------------------
+void VCommonSettings::setAutoScroll(const bool &value)
+{
+ setValue(settingGraphicsViewAutoScroll, value);
+}
+
+//---------------------------------------------------------------------------------------------------------------------
+int VCommonSettings::getAutoScrollSpeed() const
+{
+ return value(settingGraphicsViewAutoScrollSpeed, 200).toInt();
+}
+
+//---------------------------------------------------------------------------------------------------------------------
+void VCommonSettings::setAutoScrollSpeed(const int &speed)
+{
+ setValue(settingGraphicsViewAutoScrollSpeed, speed);
+}
+
//---------------------------------------------------------------------------------------------------------------------
int VCommonSettings::getScrollBarWidth() const
{
diff --git a/src/libs/vmisc/vcommonsettings.h b/src/libs/vmisc/vcommonsettings.h
index aa7ddbb0bf4c..369791d38cb0 100644
--- a/src/libs/vmisc/vcommonsettings.h
+++ b/src/libs/vmisc/vcommonsettings.h
@@ -199,6 +199,12 @@ class VCommonSettings : public QSettings
bool getShowScrollBars() const;
void setShowScrollBars(const bool &value);
+ bool getAutoScroll() const;
+ void setAutoScroll(const bool &value);
+
+ int getAutoScrollSpeed() const;
+ void setAutoScrollSpeed(const int &speed);
+
int getScrollBarWidth() const;
void setScrollBarWidth(const int &width);
diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp
index 07ef8f25827d..70372143cc49 100644
--- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp
+++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp
@@ -1,3 +1,4 @@
+// ---------------------------------------------------------------------------
// @file vtoolspline.cpp
// @author Douglas S Caskey
// @date 17 Sep, 2023
@@ -19,33 +20,33 @@
//
// You should have received a copy of the GNU General Public License
// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
-/************************************************************************
- ** @file vtoolspline.cpp
- ** @author Roman Telezhynskyi
- ** @date November 15, 2013
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentina project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2013-2015 Valentina project
- ** All Rights Reserved.
- **
- ** Valentina is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Valentina is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file vtoolspline.cpp
+// @author Roman Telezhynskyi
+// @date November 15, 2013
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2013-2015 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
#include "vtoolspline.h"
@@ -450,9 +451,10 @@ void VToolSpline::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
connect(moveSpl, &MoveSpline::NeedLiteParsing, doc, &VAbstractPattern::LiteParseTree);
qApp->getUndoStack()->push(moveSpl);
- // Each time we move something we call recalculation scene rect. In some cases this can cause moving
- // objects positions. And this cause infinite redrawing. That's why we wait the finish of saving the last move.
+ // Each time an item is moved the scene rect is recalculated. In some cases this can cause infinite redrawing
+ // That's why we wait till the scene is finished drawing before scrolling again.
static bool changeFinished = true;
+
if (changeFinished)
{
changeFinished = false;
@@ -460,12 +462,13 @@ void VToolSpline::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
const QList viewList = scene()->views();
if (!viewList.isEmpty())
{
- if (QGraphicsView *view = viewList.at(0))
+ if (VMainGraphicsView *view = qobject_cast(viewList.at(0)))
{
+ // Ensure only small rect around a cursor is visible.
VMainGraphicsScene *currentScene = qobject_cast(scene());
SCASSERT(currentScene)
const QPointF cursorPosition = currentScene->getScenePos();
- view->ensureVisible(QRectF(cursorPosition.x()-5, cursorPosition.y()-5, 10, 10));
+ view->ensureRectVisible(QRectF(cursorPosition.x() - 5, cursorPosition.y() - 5, 10, 10));
}
}
changeFinished = true;
diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp
index abc1678d2e6a..cf805c3993d5 100644
--- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp
+++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp
@@ -1,3 +1,4 @@
+// ---------------------------------------------------------------------------
// @file vtoolsplinepath.cpp
// @author Douglas S Caskey
// @date 17 Sep, 2023
@@ -19,33 +20,33 @@
//
// You should have received a copy of the GNU General Public License
// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
-/************************************************************************
- ** @file vtoolsplinepath.cpp
- ** @author Roman Telezhynskyi
- ** @date November 15, 2013
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentina project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2013-2013 Valentina project
- ** All Rights Reserved.
- **
- ** Valentina is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Valentina is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file vtoolsplinepath.cpp
+// @author Roman Telezhynskyi
+// @date November 15, 2013
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2013-2013 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Valentina. If not, see .
+// ---------------------------------------------------------------------------
#include "vtoolsplinepath.h"
@@ -103,6 +104,7 @@ const QString VToolSplinePath::OldToolType = QStringLiteral("path");
// @param id object id in container.
// @param typeCreation way we create this tool.
// @param parent parent object.
+
VToolSplinePath::VToolSplinePath(VAbstractPattern *doc, VContainer *data, quint32 id, const Source &typeCreation,
QGraphicsItem *parent)
: VAbstractSpline(doc, data, id, parent)
@@ -149,6 +151,7 @@ VToolSplinePath::VToolSplinePath(VAbstractPattern *doc, VContainer *data, quint3
}
// @brief setDialog set dialog when user want change tool option.
+
void VToolSplinePath::setDialog()
{
SCASSERT(!m_dialog.isNull())
@@ -166,6 +169,7 @@ void VToolSplinePath::setDialog()
// @param scene pointer to scene.
// @param doc dom document container.
// @param data container with variables.
+
VToolSplinePath* VToolSplinePath::Create(QSharedPointer dialog, VMainGraphicsScene *scene,
VAbstractPattern *doc, VContainer *data)
{
@@ -198,6 +202,7 @@ VToolSplinePath* VToolSplinePath::Create(QSharedPointer dialog, VMai
// @param data container with variables.
// @param parse parser file mode.
// @param typeCreation way we create this tool.
+
VToolSplinePath* VToolSplinePath::Create(const quint32 _id, VSplinePath *path, VMainGraphicsScene *scene,
VAbstractPattern *doc, VContainer *data, const Document &parse,
const Source &typeCreation)
@@ -270,6 +275,7 @@ VToolSplinePath *VToolSplinePath::Create(const quint32 _id, const QVector splPath = VAbstractTool::data.GeometricObject(m_id);
@@ -431,6 +442,7 @@ void VToolSplinePath::RemoveReferens()
}
// @brief SaveDialog save options into file after change in dialog.
+
void VToolSplinePath::SaveDialog(QDomElement &domElement)
{
SCASSERT(!m_dialog.isNull())
@@ -472,6 +484,7 @@ void VToolSplinePath::SaveOptions(QDomElement &tag, QSharedPointer &ob
// @brief mousePressEvent handle mouse press events.
// @param event mouse release event.
+
void VToolSplinePath::mousePressEvent(QGraphicsSceneMouseEvent *event)
{
if (flags() & QGraphicsItem::ItemIsMovable)
@@ -493,6 +506,7 @@ void VToolSplinePath::mousePressEvent(QGraphicsSceneMouseEvent *event)
// @brief mouseReleaseEvent handle mouse release events.
// @param event mouse release event.
+
void VToolSplinePath::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
{
if (flags() & QGraphicsItem::ItemIsMovable)
@@ -508,6 +522,7 @@ void VToolSplinePath::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
// @brief mouseMoveEvent handle mouse move events.
// @param event mouse move event.
+
void VToolSplinePath::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
{
// Don't need to check if left mouse button was pressed. According to the Qt documentation "If you do receive this
@@ -565,8 +580,8 @@ void VToolSplinePath::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
connect(moveSplPath, &VUndoCommand::NeedLiteParsing, doc, &VAbstractPattern::LiteParseTree);
qApp->getUndoStack()->push(moveSplPath);
- // Each time we move something we call recalculation scene rect. In some cases this can cause moving
- // objects positions. And this cause infinite redrawing. That's why we wait the finish of saving the last move.
+ // Each time an item is moved the scene rect is recalculated. In some cases this can cause infinite redrawing
+ // That's why we wait till the scene is finished drawing before scrolling again.
static bool changeFinished = true;
if (changeFinished)
{
@@ -575,12 +590,12 @@ void VToolSplinePath::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
const QList viewList = scene()->views();
if (!viewList.isEmpty())
{
- if (QGraphicsView *view = viewList.at(0))
+ if (VMainGraphicsView *view = qobject_cast(viewList.at(0)))
{
VMainGraphicsScene *currentScene = qobject_cast(scene());
SCASSERT(currentScene)
const QPointF cursorPosition = currentScene->getScenePos();
- view->ensureVisible(QRectF(cursorPosition.x()-5, cursorPosition.y()-5, 10, 10));
+ view->ensureRectVisible(QRectF(cursorPosition.x() - 5, cursorPosition.y() - 5, 10, 10));
}
}
changeFinished = true;
@@ -590,6 +605,7 @@ void VToolSplinePath::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
// @brief hoverEnterEvent handle hover enter events.
// @param event hover enter event.
+
void VToolSplinePath::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
{
if (flags() & QGraphicsItem::ItemIsMovable)
@@ -608,6 +624,7 @@ void VToolSplinePath::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
// @brief hoverLeaveEvent handle hover leave events.
// @param event hover leave event.
+
void VToolSplinePath::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
{
if (flags() & QGraphicsItem::ItemIsMovable)
@@ -641,7 +658,7 @@ bool VToolSplinePath::IsMovable(int index) const
{
const auto splPath = VAbstractTool::data.GeometricObject(m_id);
- //index == -1 - can delete, but decided to left
+ // index == -1 - can delete, but decided to left
if (index == -1 || index < 1 || index > splPath->CountSubSpl())
{
return false;
diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp
index f7196c4f2b01..281df762502c 100644
--- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp
+++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp
@@ -1,53 +1,52 @@
-/***************************************************************************
- ** @file vtoolbasepoint.cpp
- ** @author Douglas S Caskey
- ** @date 17 Sep, 2023
- **
- ** @copyright
- ** Copyright (C) 2017 - 2023 Seamly, LLC
- ** https://github.com/fashionfreedom/seamly2d
- **
- ** @brief
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **************************************************************************/
-
-/************************************************************************
- ** @file vtoolbasepoint.cpp
- ** @author Roman Telezhynskyi
- ** @date November 15, 2013
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentina project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2013 Valentina project
- ** All Rights Reserved.
- **
- ** Valentina is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Valentina is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file vtoolbasepoint.cpp
+// @author Douglas S Caskey
+// @date 17 Sep, 2023
+//
+// @copyright
+// Copyright (C) 2017 - 2024 Seamly, LLC
+// https://github.com/fashionfreedom/seamly2d
+//
+// @brief
+// Seamly2D is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Seamly2D is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
+
+// ---------------------------------------------------------------------------
+// @file vtoolbasepoint.cpp
+// @author Roman Telezhynskyi
+// @date November 15, 2013
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2013 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
#include "vtoolbasepoint.h"
@@ -207,8 +206,8 @@ QVariant VToolBasePoint::itemChange(QGraphicsItem::GraphicsItemChange change, co
{
if (change == ItemPositionChange && scene())
{
- // Each time we move something we call recalculation scene rect. In some cases this can cause moving
- // objects positions. And this cause infinite redrawing. That's why we wait the finish of saving the last move.
+ // Each time an item is moved the scene rect is recalculated. In some cases this can cause infinite redrawing
+ // That's why we wait till the scene is finished drawing before scrolling again.
static bool changeFinished = true;
if (changeFinished)
{
@@ -220,30 +219,15 @@ QVariant VToolBasePoint::itemChange(QGraphicsItem::GraphicsItemChange change, co
connect(moveSP, &MoveSPoint::NeedLiteParsing, doc, &VAbstractPattern::LiteParseTree);
qApp->getUndoStack()->push(moveSP);
const QList viewList = scene()->views();
- if (not viewList.isEmpty())
+ if (!viewList.isEmpty())
{
- if (QGraphicsView *view = viewList.at(0))
+ if (VMainGraphicsView *view = qobject_cast(viewList.at(0)))
{
- const int xmargin = 50;
- const int ymargin = 50;
-
- const QRectF viewRect = VMainGraphicsView::SceneVisibleArea(view);
- const QRectF itemRect = mapToScene(boundingRect()).boundingRect();
-
- // If item's rect is bigger than view's rect ensureVisible works very unstable.
- if (itemRect.height() + 2*ymargin < viewRect.height() &&
- itemRect.width() + 2*xmargin < viewRect.width())
- {
- view->ensureVisible(itemRect, xmargin, ymargin);
- }
- else
- {
- // Ensure visible only small rect around a cursor
- VMainGraphicsScene *currentScene = qobject_cast(scene());
- SCASSERT(currentScene)
- const QPointF cursorPosition = currentScene->getScenePos();
- view->ensureVisible(QRectF(cursorPosition.x()-5, cursorPosition.y()-5, 10, 10));
- }
+ // Ensure only small rect around a cursor is visible.
+ VMainGraphicsScene *currentScene = qobject_cast(scene());
+ SCASSERT(currentScene)
+ const QPointF cursorPosition = currentScene->getScenePos();
+ view->ensureRectVisible(QRectF(cursorPosition.x() - 5, cursorPosition.y() - 5, 10, 10));
}
}
changeFinished = true;
diff --git a/src/libs/vtools/tools/pattern_piece_tool.cpp b/src/libs/vtools/tools/pattern_piece_tool.cpp
index 7b245f8c00c5..235277122313 100644
--- a/src/libs/vtools/tools/pattern_piece_tool.cpp
+++ b/src/libs/vtools/tools/pattern_piece_tool.cpp
@@ -1,54 +1,52 @@
-/***************************************************************************
- ** @file pattern_piece_tool.cpp
- ** @author Douglas S Caskey
- ** @date 17 Sep, 2023
- **
- ** @copyright
- ** Copyright (C) 2017 - 2022 Seamly, LLC
- ** https://github.com/fashionfreedom/seamly2d
- **
- ** @brief
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **************************************************************************/
-
-/************************************************************************
- **
- ** @file PatternPieceTool.cpp
- ** @author Roman Telezhynskyi
- ** @date 6 11, 2016
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentina project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2016 Valentina project
- ** All Rights Reserved.
- **
- ** Valentina is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Valentina is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Valentina. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file pattern_piece_tool.cpp
+// @author Douglas S Caskey
+// @date 17 Sep, 2023
+//
+// @copyright
+// Copyright (C) 2017 - 2022 Seamly, LLC
+// https://github.com/fashionfreedom/seamly2d
+//
+// @brief
+// Seamly2D is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Seamly2D is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
+
+// ---------------------------------------------------------------------------
+// @file PatternPieceTool.cpp
+// @author Roman Telezhynskyi
+// @date 6 11, 2016
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2016 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Valentina. If not, see .
+// ---------------------------------------------------------------------------
#include "pattern_piece_tool.h"
@@ -1024,8 +1022,8 @@ QVariant PatternPieceTool::itemChange(QGraphicsItem::GraphicsItemChange change,
{
if (change == ItemPositionChange && scene())
{
- // Each time we move something we call recalculation scene rect. In some cases this can cause moving
- // objects positions. And this cause infinite redrawing. That's why we wait the finish of saving the last move.
+ // Each time an item is moved the scene rect is recalculated. In some cases this can cause infinite redrawing
+ // That's why we wait till the scene is finished drawing before scrolling again.
static bool changeFinished = true;
if (changeFinished)
{
@@ -1039,23 +1037,15 @@ QVariant PatternPieceTool::itemChange(QGraphicsItem::GraphicsItemChange change,
qApp->getUndoStack()->push(cmd);
const QList viewList = scene()->views();
- if (not viewList.isEmpty())
+ if (!viewList.isEmpty())
{
if (VMainGraphicsView *view = qobject_cast(viewList.at(0)))
{
- const qreal scale = sceneScale(scene());
- const int xmargin = 50;
- const int ymargin = 50;
-
- const QRectF viewRect = VMainGraphicsView::SceneVisibleArea(view);
- const QRectF itemRect = mapToScene(boundingRect()|childrenBoundingRect()).boundingRect();
-
- // Ensure visible only small rect around a cursor
+ // Ensure only small rect around a cursor is visible.
VMainGraphicsScene *currentScene = qobject_cast(scene());
SCASSERT(currentScene);
const QPointF cursorPosition = currentScene->getScenePos();
- view->ensureVisible(QRectF(cursorPosition.x()-5/scale, cursorPosition.y()-5/scale,
- 10/scale, 10/scale));
+ view->ensureRectVisible(QRectF(cursorPosition.x() - 5, cursorPosition.y() - 5, 10, 10));
}
}
diff --git a/src/libs/vwidgets/vcontrolpointspline.cpp b/src/libs/vwidgets/vcontrolpointspline.cpp
index 9c75997bd80b..62ad9528b7ed 100644
--- a/src/libs/vwidgets/vcontrolpointspline.cpp
+++ b/src/libs/vwidgets/vcontrolpointspline.cpp
@@ -1,3 +1,4 @@
+// ---------------------------------------------------------------------------
// @file vcontrolpointspline.cpp
// @author Douglas S Caskey
// @date 2 Jun, 2024
@@ -19,34 +20,33 @@
//
// You should have received a copy of the GNU General Public License
// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
-/************************************************************************
- **
- ** @file vcontrolpointspline.cpp
- ** @author Roman Telezhynskyi
- ** @date November 15, 2013
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentine project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2013-2015 Seamly2D project
- ** All Rights Reserved.
- **
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file vcontrolpointspline.cpp
+// @author Roman Telezhynskyi
+// @date November 15, 2013
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2013-2015 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Valentina. If not, see .
+// ---------------------------------------------------------------------------
#include "vcontrolpointspline.h"
@@ -190,9 +190,8 @@ QVariant VControlPointSpline::itemChange(QGraphicsItem::GraphicsItemChange chang
}
case ItemPositionHasChanged:
{
- // Each time we move something we call recalculation scene rect. In some cases this can cause moving
- // objects positions. And this cause infinite redrawing. That's why we wait the finish of saving the last
- // move.
+ // Each time an item is moved the scene rect is recalculated. In some cases this can cause infinite redrawing
+ // That's why we wait till the scene is finished drawing before scrolling again.
static bool changeFinished = true;
if (changeFinished)
{
@@ -204,28 +203,13 @@ QVariant VControlPointSpline::itemChange(QGraphicsItem::GraphicsItemChange chang
const QList viewList = scene()->views();
if (!viewList.isEmpty())
{
- if (QGraphicsView *view = viewList.at(0))
+ if (VMainGraphicsView *view = qobject_cast(viewList.at(0)))
{
- const int xmargin = 50;
- const int ymargin = 50;
-
- const QRectF viewRect = VMainGraphicsView::SceneVisibleArea(view);
- const QRectF itemRect = mapToScene(boundingRect()).boundingRect();
-
- // If item's rect is bigger than view's rect ensureVisible works very unstable.
- if (itemRect.height() + 2*ymargin < viewRect.height() &&
- itemRect.width() + 2*xmargin < viewRect.width())
- {
- view->ensureVisible(itemRect, xmargin, ymargin);
- }
- else
- {
- // Ensure visible only small rect around a cursor
- VMainGraphicsScene *currentScene = qobject_cast(scene());
- SCASSERT(currentScene)
- const QPointF cursorPosition = currentScene->getScenePos();
- view->ensureVisible(QRectF(cursorPosition.x()-5, cursorPosition.y()-5, 10, 10));
- }
+ // Ensure only small rect around a cursor is visible.
+ VMainGraphicsScene *currentScene = qobject_cast(scene());
+ SCASSERT(currentScene)
+ const QPointF cursorPosition = currentScene->getScenePos();
+ view->ensureRectVisible(QRectF(cursorPosition.x() - 5, cursorPosition.y() - 5, 10, 10));
}
}
}
diff --git a/src/libs/vwidgets/vgraphicssimpletextitem.cpp b/src/libs/vwidgets/vgraphicssimpletextitem.cpp
index 41a54dcd3e7d..5fee97456f26 100644
--- a/src/libs/vwidgets/vgraphicssimpletextitem.cpp
+++ b/src/libs/vwidgets/vgraphicssimpletextitem.cpp
@@ -1,53 +1,52 @@
-/***************************************************************************
- * *
- * Copyright (C) 2017 Seamly, LLC *
- * *
- * https://github.com/fashionfreedom/seamly2d *
- * *
- ***************************************************************************
- **
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- **************************************************************************
-
- ************************************************************************
- **
- ** @file vgraphicssimpletextitem.cpp
- ** @author Roman Telezhynskyi
- ** @date November 15, 2013
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentine project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2013-2015 Seamly2D project
- ** All Rights Reserved.
- **
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file vgraphicssimpletextitem.cpp
+// @author Douglas S Caskey
+// @date 15 11, 2013
+//
+// @copyright
+// Copyright (C) 2017 - 2024 Seamly, LLC
+// https://github.com/fashionfreedom/seamly2d
+//
+// @brief
+// Seamly2D is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Seamly2D is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
+
+// ---------------------------------------------------------------------------
+// @file vgraphicssimpletextitem.cpp
+// @author Roman Telezhynskyi
+// @date November 15, 2013
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2013-2015 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Valentina. If not, see .
+// ---------------------------------------------------------------------------
#include "vgraphicssimpletextitem.h"
@@ -173,14 +172,14 @@ void VGraphicsSimpleTextItem::setShowParentTooltip(bool show)
* @brief itemChange handle item change.
* @param change change.
* @param value value.
- * @return value.
+ * @return QGraphicsSimpleTextItem::itemChange.
*/
QVariant VGraphicsSimpleTextItem::itemChange(GraphicsItemChange change, const QVariant &value)
{
if (change == ItemPositionChange && scene())
{
- // Each time we move something we call recalculation scene rect. In some cases this can cause moving
- // objects positions. And this cause infinite redrawing. That's why we wait the finish of saving the last move.
+ // Each time an item is moved the scene rect is recalculated. In some cases this can cause infinite redrawing
+ // That's why we wait till the scene is finished drawing before scrolling again.
static bool changeFinished = true;
if (changeFinished)
@@ -189,30 +188,15 @@ QVariant VGraphicsSimpleTextItem::itemChange(GraphicsItemChange change, const QV
if (scene())
{
const QList viewList = scene()->views();
- if (not viewList.isEmpty())
+ if (!viewList.isEmpty())
{
- if (QGraphicsView *view = viewList.at(0))
+ if (VMainGraphicsView *view = qobject_cast(viewList.at(0)))
{
- const int xmargin = 50;
- const int ymargin = 50;
-
- const QRectF viewRect = VMainGraphicsView::SceneVisibleArea(view);
- const QRectF itemRect = mapToScene(boundingRect()).boundingRect();
-
- // If item's rect is bigger than view's rect ensureVisible works very unstable.
- if (itemRect.height() + 2*ymargin < viewRect.height() &&
- itemRect.width() + 2*xmargin < viewRect.width())
- {
- view->ensureVisible(itemRect, xmargin, ymargin);
- }
- else
- {
- // Ensure visible only small rect around a cursor
- VMainGraphicsScene *currentScene = qobject_cast(scene());
- SCASSERT(currentScene)
- const QPointF cursorPosition = currentScene->getScenePos();
- view->ensureVisible(QRectF(cursorPosition.x()-5, cursorPosition.y()-5, 10, 10));
- }
+ // Ensure only small rect around a cursor is visible.
+ VMainGraphicsScene *currentScene = qobject_cast(scene());
+ SCASSERT(currentScene)
+ const QPointF cursorPosition = currentScene->getScenePos();
+ view->ensureRectVisible(QRectF(cursorPosition.x() - 5, cursorPosition.y() - 5, 10, 10));
}
}
}
@@ -238,7 +222,6 @@ QVariant VGraphicsSimpleTextItem::itemChange(GraphicsItemChange change, const QV
emit pointSelected(value.toBool());
}
return QGraphicsSimpleTextItem::itemChange(change, value);
- //return QGraphicsItem::itemChange(change, value);
}
//---------------------------------------------------------------------------------------------------------------------
diff --git a/src/libs/vwidgets/vmaingraphicsview.cpp b/src/libs/vwidgets/vmaingraphicsview.cpp
index 01b4c871a514..cbc52a176dc4 100644
--- a/src/libs/vwidgets/vmaingraphicsview.cpp
+++ b/src/libs/vwidgets/vmaingraphicsview.cpp
@@ -1,62 +1,64 @@
-/***************************************************************************
- * *
- * Copyright (C) 2017 Seamly, LLC *
- * *
- * https://github.com/fashionfreedom/seamly2d *
- * *
- ***************************************************************************
- **
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- **************************************************************************
-
- ************************************************************************
- **
- ** @file vmaingraphicsview.cpp
- ** @author Roman Telezhynskyi
- ** @date November 15, 2013
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentine project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2013-2015 Seamly2D project
- ** All Rights Reserved.
- **
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file vmaingraphicsview.cpp
+// @author Douglas S Caskey
+// @date 25 Aug, 2024
+//
+// @copyright
+// Copyright (C) 2017 - 2024 Seamly, LLC
+// https://github.com/fashionfreedom/seamly2d
+//
+// @brief
+// Seamly2D is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Seamly2D is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
+
+// ---------------------------------------------------------------------------
+// @file vmaingraphicsview.cpp
+// @author Roman Telezhynskyi
+// @date November 15, 2013
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2013-2015 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
#include "vmaingraphicsview.h"
+#include
#include
#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -64,16 +66,13 @@
#include
#include
#include
+#include
#include
+#include
#include
#include
#include
-#include
#include
-#include
-#include
-#include
-#include
#include "../vmisc/logging.h"
#include "../vmisc/def.h"
@@ -113,7 +112,7 @@ GraphicsViewZoom::GraphicsViewZoom(QGraphicsView* view)
{
m_view->viewport()->installEventFilter(this);
- //Enable gestures for the view widget
+ // Enable gestures for the view widget
m_view->viewport()->grabGesture(Qt::PinchGesture);
m_view->viewport()->grabGesture(Qt::PanGesture);
m_view->setMouseTracking(true);
@@ -159,6 +158,7 @@ void GraphicsViewZoom::gentleZoom(qreal factor)
//---------------------------------------------------------------------------------------------------------------------
// cppcheck-suppress unusedFunction
+
void GraphicsViewZoom::setModifiers(Qt::KeyboardModifiers modifiers)
{
m_modifiers = modifiers;
@@ -166,6 +166,7 @@ void GraphicsViewZoom::setModifiers(Qt::KeyboardModifiers modifiers)
//---------------------------------------------------------------------------------------------------------------------
// cppcheck-suppress unusedFunction
+
void GraphicsViewZoom::setZoomSpeedFactor(qreal value)
{
m_zoomSpeedFactor = value;
@@ -232,12 +233,11 @@ void GraphicsViewZoom::animFinished()
m_numScheduledVerticalScrollings = 0;
verticalScrollAnim->stop();
- /*
- * In moust cases cursor position on view doesn't change, but for scene after scrolling position will be different.
- * We are goint to check changes and save new value.
- * If don't do that we will zoom using old value cursor position on scene. It is not what we expect.
- * Almoust the same we do in method GraphicsViewZoom::eventFilter.
- */
+ // In most cases cursor position on view doesn't change, but for scene after scrolling position will be different.
+ // We are goint to check changes and save new value.
+ // If don't do that we will zoom using old value cursor position on scene. It is not what we expect.
+ // Almost the same we do in method GraphicsViewZoom::eventFilter.
+
const QPoint pos = m_view->mapFromGlobal(QCursor::pos());
const QPointF delta = targetScenePos - m_view->mapToScene(pos);
if (qAbs(delta.x()) > 5 || qAbs(delta.y()) > 5)
@@ -255,11 +255,8 @@ bool GraphicsViewZoom::eventFilter(QObject *object, QEvent *event)
if (event->type() == QEvent::MouseMove)
{
- /*
- * Here we are saving cursor position on view and scene.
- * This data need for gentleZoom().
- * Almoust the same we do in method GraphicsViewZoom::animFinished.
- */
+ // Here we are saving cursor position on view and scene. This data is needed for gentleZoom().
+ // Almost the same that we do in method GraphicsViewZoom::animFinished.
QMouseEvent* mouse_event = static_cast(event);
QPointF delta = targetViewPos - mouse_event->pos();
if (qAbs(delta.x()) > 5 || qAbs(delta.y()) > 5)
@@ -340,7 +337,6 @@ void GraphicsViewZoom::panTriggered(QPanGesture *gesture)
qCDebug(vGraphicsViewZoom) << "panTriggered():" << gesture;
horizontalOffset += delta.x();
verticalOffset += delta.y();
- //m_view->scrollContentsBy(horizontalOffset, verticalOffset);
}
void GraphicsViewZoom::pinchTriggered(QPinchGesture *gesture)
@@ -359,13 +355,12 @@ void GraphicsViewZoom::fictiveSceneRect(QGraphicsScene *sc, QGraphicsView *view)
SCASSERT(sc != nullptr)
SCASSERT(view != nullptr)
- //Calculate view rect
- //to receive the currently visible area, map the widgets bounds to the scene
+ // Calculate view rect to receive the currently visible area, map the widgets bounds to the scene
const QPointF a = view->mapToScene(0, 0 );
const QPointF b = view->mapToScene(view->viewport()->width(), view->viewport()->height());
QRectF viewRect = QRectF( a, b );
- //Scale view
+ // Scale view
QLineF topLeftRay(viewRect.center(), viewRect.topLeft());
topLeftRay.setLength(topLeftRay.length()*2);
@@ -374,10 +369,10 @@ void GraphicsViewZoom::fictiveSceneRect(QGraphicsScene *sc, QGraphicsView *view)
viewRect = QRectF(topLeftRay.p2(), bottomRightRay.p2());
- //Calculate scene rect
+ // Calculate scene rect
const QRectF sceneRect = sc->sceneRect();
- //Unite two rects
+ // Unite two rects
const QRectF newRect = sceneRect.united(viewRect);
sc->setSceneRect(newRect);
@@ -407,7 +402,8 @@ bool GraphicsViewZoom::startVerticalScrollings(QWheelEvent *wheel_event)
m_numScheduledVerticalScrollings += numSteps;
if (m_numScheduledVerticalScrollings * numSteps < 0)
- { // if user moved the wheel in another direction, we reset previously scheduled scalings
+ {
+ // if user moved the wheel in another direction, we reset previously scheduled scalings
m_numScheduledVerticalScrollings = numSteps;
}
@@ -444,7 +440,8 @@ bool GraphicsViewZoom::startHorizontalScrollings(QWheelEvent *wheel_event)
m_numScheduledHorizontalScrollings += numSteps;
if (m_numScheduledHorizontalScrollings * numSteps < 0)
- { // if user moved the wheel in another direction, we reset previously scheduled scalings
+ {
+ // if user moved the wheel in another direction, we reset previously scheduled scalings
m_numScheduledHorizontalScrollings = numSteps;
}
@@ -459,11 +456,10 @@ bool GraphicsViewZoom::startHorizontalScrollings(QWheelEvent *wheel_event)
Q_LOGGING_CATEGORY(vMainGraphicsView, "vmaingraphicsview")
-//---------------------------------------------------------------------------------------------------------------------
-/**
- * @brief VMainGraphicsView constructor.
- * @param parent parent object.
- */
+
+// @brief VMainGraphicsView constructor.
+// @param parent parent object.
+
VMainGraphicsView::VMainGraphicsView(QWidget *parent)
: QGraphicsView(parent)
, curMagnifier(new QCursor(QPixmap(":/cursor/magnifier_cursor.png"), 2, 2))
@@ -623,11 +619,10 @@ void VMainGraphicsView::setRubberBandColor(QRubberBand *band, const QColor &colo
isRubberBandColorSet = true;
}
-//---------------------------------------------------------------------------------------------------------------------
-/**
- * @brief mousePressEvent handle mouse press events.
- * @param event mouse press event.
- */
+
+// @brief mousePressEvent handle mouse press events.
+// @param event mouse press event.
+
void VMainGraphicsView::mousePressEvent(QMouseEvent *event)
{
switch (event->button())
@@ -714,12 +709,14 @@ void VMainGraphicsView::mouseMoveEvent(QMouseEvent *event)
{
if ( (dragMode() == QGraphicsView::ScrollHandDrag) || isPanDragActive )
{
- QScrollBar *hBar = horizontalScrollBar();
- QScrollBar *vBar = verticalScrollBar();
+ QScrollBar *horz = horizontalScrollBar();
+ QScrollBar *vert = verticalScrollBar();
const QPoint delta = event->pos() - m_ptStartPos;
- hBar->setValue(hBar->value() + (isRightToLeft() ? delta.x() : -delta.x()));
- vBar->setValue(vBar->value() - delta.y());
+ horz->setValue(horz->value() + (isRightToLeft() ? delta.x() : -delta.x()));
+ vert->setValue(vert->value() - delta.y());
m_ptStartPos = event->pos();
+ unsigned long delay = static_cast(200 + (200 - qApp->Settings()->getAutoScrollSpeed()));
+ QThread::msleep(10000); // delay is the inverse of the speed
}
else if ( isRubberBandActive )
{
@@ -745,11 +742,9 @@ void VMainGraphicsView::mouseMoveEvent(QMouseEvent *event)
}
}
-//---------------------------------------------------------------------------------------------------------------------
-/**
- * @brief mouseReleaseEvent handle mouse release events.
- * @param event mouse release event.
- */
+// @brief mouseReleaseEvent handle mouse release events.
+// @param event mouse release event.
+
void VMainGraphicsView::mouseReleaseEvent(QMouseEvent *event)
{
QGraphicsView::mouseReleaseEvent ( event ); // First because need to hide a rubber band
@@ -795,6 +790,41 @@ void VMainGraphicsView::mouseDoubleClickEvent(QMouseEvent *event)
QGraphicsView::mouseDoubleClickEvent(event);
}
+// @brief ensureRectVisible ensure that bounding rectangle is visible in view
+//
+// This function ensures that the given rectangle stays in view with a delay to control the scroll speed
+//
+// @param rect bounding rectangle
+// @param xmargin width margins added to the width of rectangle
+// @param y margin height margin added to height of the rectangle
+//
+// @details
+// - Check if Autoscroll is true - if false then do not scroll.
+// - Call ensureVisible to scroll scene to keep rect visile in the view.
+// - Check if rect has moved since scrolling - if not do nothing.
+// - Convert preferred speed to a delay in msec. More speed = less delay, less speed = more delay
+// min speed = 0 / maxspeed = 400 / default speed = 200.
+// - Call msleep for delay in msecs - which has the effect of slowing down the scrolling down.
+
+void VMainGraphicsView::ensureRectVisible(const QRectF &rect, int xmargin, int ymargin)
+{
+ if (!qApp->Settings()->getAutoScroll())
+ {
+ return;
+ }
+ const int horz = horizontalScrollBar()->value();
+ const int vert = verticalScrollBar()->value();
+
+ ensureVisible(rect, xmargin, ymargin);
+
+ if (horz != horizontalScrollBar()->value() || vert != verticalScrollBar()->value())
+ {
+ int speed = qApp->Settings()->getAutoScrollSpeed();
+ unsigned long delay = static_cast(200 + (200 - speed)); // delay is the inverse of the speed
+ QThread::msleep(delay);
+ }
+}
+
//---------------------------------------------------------------------------------------------------------------------
qreal VMainGraphicsView::MinScale()
{
@@ -825,12 +855,10 @@ void VMainGraphicsView::allowRubberBand(bool value)
isallowRubberBand = value;
}
-//---------------------------------------------------------------------------------------------------------------------
-/**
- * @brief NewSceneRect calculate scene rect what contains all items and doesn't less that size of scene view.
- * @param sc scene.
- * @param view view.
- */
+// @brief NewSceneRect calculate scene rect what contains all items and doesn't less that size of scene view.
+// @param sc scene.
+// @param view view.
+
void VMainGraphicsView::NewSceneRect(QGraphicsScene *sc, QGraphicsView *view, QGraphicsItem *item)
{
SCASSERT(sc != nullptr)
diff --git a/src/libs/vwidgets/vmaingraphicsview.h b/src/libs/vwidgets/vmaingraphicsview.h
index eb1c95f1d841..c1ed648bc5e0 100644
--- a/src/libs/vwidgets/vmaingraphicsview.h
+++ b/src/libs/vwidgets/vmaingraphicsview.h
@@ -1,53 +1,52 @@
-/***************************************************************************
- * *
- * Copyright (C) 2017 Seamly, LLC *
- * *
- * https://github.com/fashionfreedom/seamly2d *
- * *
- ***************************************************************************
- **
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- **************************************************************************
-
- ************************************************************************
- **
- ** @file vmaingraphicsview.h
- ** @author Roman Telezhynskyi
- ** @date November 15, 2013
- **
- ** @brief
- ** @copyright
- ** This source code is part of the Valentine project, a pattern making
- ** program, whose allow create and modeling patterns of clothing.
- ** Copyright (C) 2013-2015 Seamly2D project
- ** All Rights Reserved.
- **
- ** Seamly2D is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** Seamly2D is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with Seamly2D. If not, see .
- **
- *************************************************************************/
+// ---------------------------------------------------------------------------
+// @file vmaingraphicsview.h
+// @author Douglas S Caskey
+// @date 25 Aug, 2024
+//
+// @copyright
+// Copyright (C) 2017 - 2024 Seamly, LLC
+// https://github.com/fashionfreedom/seamly2d
+//
+// @brief
+// Seamly2D is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Seamly2D is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
+
+// ---------------------------------------------------------------------------
+// @file vmaingraphicsview.h
+// @author Roman Telezhynskyi
+// @date November 15, 2013
+//
+// @brief
+// @copyright
+// This source code is part of the Valentina project, a pattern making
+// program, whose allow create and modeling patterns of clothing.
+// Copyright (C) 2013-2015 Valentina project
+// All Rights Reserved.
+//
+// Valentina is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Valentina is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Seamly2D. If not, see .
+// ---------------------------------------------------------------------------
#ifndef VMAINGRAPHICSVIEW_H
#define VMAINGRAPHICSVIEW_H
@@ -169,6 +168,8 @@ class VMainGraphicsView : public QGraphicsView
static void NewSceneRect(QGraphicsScene *sc, QGraphicsView *view, QGraphicsItem *item = nullptr);
static QRectF SceneVisibleArea(QGraphicsView *view);
+ void ensureRectVisible(const QRectF &rect, int xmargin = 10, int ymargin = 10);
+
static qreal MinScale();
static qreal MaxScale();
From 259d7666782fa2912473d23aa8a8213b76172b80 Mon Sep 17 00:00:00 2001
From: DSCaskey <31944718+DSCaskey@users.noreply.github.com>
Date: Sun, 28 Jul 2024 22:05:23 -0400
Subject: [PATCH 2/3] lupdate
---
share/translations/seamly2d_cs_CZ.ts | 362 +++++++++++---------
share/translations/seamly2d_de_DE.ts | 451 +++++++++++++------------
share/translations/seamly2d_el_GR.ts | 362 +++++++++++---------
share/translations/seamly2d_en_CA.ts | 362 +++++++++++---------
share/translations/seamly2d_en_GB.ts | 294 ++++++++++-------
share/translations/seamly2d_en_IN.ts | 362 +++++++++++---------
share/translations/seamly2d_en_US.ts | 362 +++++++++++---------
share/translations/seamly2d_es_ES.ts | 474 +++++++++++++--------------
share/translations/seamly2d_fi_FI.ts | 362 +++++++++++---------
share/translations/seamly2d_fr_FR.ts | 362 +++++++++++---------
share/translations/seamly2d_he_IL.ts | 294 ++++++++++-------
share/translations/seamly2d_id_ID.ts | 294 ++++++++++-------
share/translations/seamly2d_it_IT.ts | 362 +++++++++++---------
share/translations/seamly2d_nl_NL.ts | 362 +++++++++++---------
share/translations/seamly2d_pt_BR.ts | 362 +++++++++++---------
share/translations/seamly2d_ro_RO.ts | 294 ++++++++++-------
share/translations/seamly2d_ru_RU.ts | 362 +++++++++++---------
share/translations/seamly2d_uk_UA.ts | 298 +++++++++--------
share/translations/seamly2d_zh_CN.ts | 294 ++++++++++-------
19 files changed, 3710 insertions(+), 2965 deletions(-)
diff --git a/share/translations/seamly2d_cs_CZ.ts b/share/translations/seamly2d_cs_CZ.ts
index 3119434cbfb0..a28b6cc19e31 100644
--- a/share/translations/seamly2d_cs_CZ.ts
+++ b/share/translations/seamly2d_cs_CZ.ts
@@ -9460,6 +9460,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14924,299 +14932,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Čára_
+
+
+
+ Leave the _ symbol in translation
+ Úhelčáry_
+
+
+
+ Leave the _ symbol in translation
+ Oblouk_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Křivka_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Čára_
-
-
-
- Leave the _ symbol in translation
- Úhelčáry_
-
-
-
- Leave the _ symbol in translation
- Oblouk_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Křivka_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_de_DE.ts b/share/translations/seamly2d_de_DE.ts
index 1f1c51657f2c..7a5b33ff45b2 100644
--- a/share/translations/seamly2d_de_DE.ts
+++ b/share/translations/seamly2d_de_DE.ts
@@ -4142,14 +4142,6 @@ p, li { white-space: pre-wrap; }
FvUpdater
-
-
- Exklusiver Zugriff auf die Datei kann nicht gewährt werden
-%1
-Möglicherweise wird die Datei bereits heruntergeladen.
- Feed download ist fehlgeschlagen: %1.
@@ -4186,6 +4178,12 @@ Möchtest Du diesen downloaden?
for writing
Date %1 kann nicht zum schreiben geöffnet werden
+
+
+
+ GroupsWidget
@@ -5178,14 +5176,6 @@ Das Programm wird WIE ES IST, OHNE GEWÄHRLEISTUNG JEGLICHER ART, EINSCHLIESSLIC
Absteigender Bereich
-
-
- Ränder gehen über den Druck hinaus.
-
-Einstellungen trotzdem anwenden?
- Zentimeter
@@ -5313,6 +5303,12 @@ Einstellungen trotzdem anwenden?
Millimeter
+
+
+
+ LineTypeComboBox
@@ -9484,6 +9480,14 @@ Drücken Sie die Eingabetaste, um ihn vorübergehend in die Liste aufzunehmen.
Verwenden Sie immer den aktuellen Stift
+
+
+
+
+
+
+ Mausrad
+ PreferencesPathPage
@@ -10285,20 +10289,6 @@ Drücken Sie die Eingabetaste, um ihn vorübergehend in die Liste aufzunehmen.
Dezimaltrennzeichen:
-
-
- Legt fest, welches Dezimaltrennzeichen verwendet werden soll.
-Wenn das Kontrollkästchen aktiviert ist, wird das Trennzeichen für das Gebietsschema des Benutzers verwendet.
-Wenn es nicht markiert ist, wird der Punkt verwendet.
-
-
-
- Wenn diese Option aktiviert ist, wird das Willkommensfenster nicht angezeigt.
-Sie können diese Einstellung in den SeamlyMe-Einstellungen ändern.
- Sprache der Benutzeroberfläche:
@@ -10327,6 +10317,17 @@ Sie können diese Einstellung in den SeamlyMe-Einstellungen ändern.Inches
Zoll
+
+
+
+
+
+
+
+ SeamlyWelcomeDialog
@@ -10350,12 +10351,6 @@ Sie können diese Einstellung in den SeamlyMe-Einstellungen ändern.Decimal separator:
Dezimaltrennzeichen:
-
-
- Wenn diese Option aktiviert ist, wird das Willkommensfenster nicht angezeigt.
-Sie können diese Einstellung in den Seamly2D-Voreinstellungen ändern.
- Sprache der Benutzeroberfläche:
@@ -10388,14 +10383,6 @@ Sie können diese Einstellung in den Seamly2D-Voreinstellungen ändern.Please choose your preferred units, decimal separator, language, and selection sound. (You can change these later.)
Bitte wählen Sie Ihre bevorzugten Einheiten, das Dezimaltrennzeichen, die Sprache und den Auswahlton. (Sie können diese Angaben später ändern.)
-
-
- Legt fest, welches Dezimaltrennzeichen verwendet werden soll.
-Wenn das Kontrollkästchen aktiviert ist, wird das Trennzeichen für das Gebietsschema des Benutzers verwendet.
-Wenn es nicht markiert ist, wird der Punkt verwendet.
- Ton:
@@ -10404,6 +10391,17 @@ Wenn es nicht markiert ist, wird der Punkt verwendet.
Legt den Klickton für die Knotenauswahl fest.
+
+
+
+
+
+
+
+ SetPieceColor
@@ -14957,304 +14955,339 @@ wie gewohnt in SeamlyME laden können.
placeholderwOnFold
+
+
+ Leave the _ symbol in translation
+ M_
+
+
+
+ Leave the _ symbol in translation
+ Variab_
+
+
+
+ Leave the _ symbol in translation
+ Linie_
+
+
+
+ Leave the _ symbol in translation
+ Winkellinie_
+
+
+
+ Leave the _ symbol in translation
+ Bogen_
+
+
+
+ Leave the _ symbol in translation
+ ElBogen_
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+ RadiusBogen_
+
+
+
+ Leave the _ symbol in translation
+ Radius1ElBogen_
+
+
+
+ Leave the _ symbol in translation
+ Radius2ElBogen_
+
+
+
+ Leave the _ symbol in translation
+ Winkel1Bogen_
+
+
+
+ Leave the _ symbol in translation
+ Winkel2Bogen_
+
+
+
+ Leave the _ symbol in translation
+ Winkel1ElBogen_
+
+
+
+ Leave the _ symbol in translation
+ Winkel2ElBogen_
+
+
+
+ Leave the _ symbol in translation
+ Winkel1Spl_
+
+
+
+ Leave the _ symbol in translation
+ Winkel2Spl_
+
+
+
+ Segment. Leave the _ symbol in translation
+ Seg_
+
+
+
+ Leave the _ symbol in translation
+ C1LängeSpl_
+
+
+
+ Leave the _ symbol in translation
+ C2LängeSpl_
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ Sinusfunktion im Bogenmaß Verwendung: sin(Winkel θ im Bogenmaß) → liefert eine Zahl zwischen -1 und 1 Beispiel: sin(90) = 0,893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
- M_
-
-
-
- Leave the _ symbol in translation
- Variab_
-
-
-
- Leave the _ symbol in translation
- Linie_
-
-
-
- Leave the _ symbol in translation
- Winkellinie_
-
-
-
- Leave the _ symbol in translation
- Bogen_
-
-
-
- Leave the _ symbol in translation
- ElBogen_
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
- RadiusBogen_
-
-
-
- Leave the _ symbol in translation
- Radius1ElBogen_
-
-
-
- Leave the _ symbol in translation
- Radius2ElBogen_
-
-
-
- Leave the _ symbol in translation
- Winkel1Bogen_
-
-
-
- Leave the _ symbol in translation
- Winkel2Bogen_
-
-
-
- Leave the _ symbol in translation
- Winkel1ElBogen_
-
-
-
- Leave the _ symbol in translation
- Winkel2ElBogen_
-
-
-
- Leave the _ symbol in translation
- Winkel1Spl_
-
-
-
- Leave the _ symbol in translation
- Winkel2Spl_
-
-
-
- Segment. Leave the _ symbol in translation
- Seg_
-
-
-
- Leave the _ symbol in translation
- C1LängeSpl_
-
-
-
- Leave the _ symbol in translation
- C2LängeSpl_
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_el_GR.ts b/share/translations/seamly2d_el_GR.ts
index 17b24ffeb947..0ffcb5d4ee52 100644
--- a/share/translations/seamly2d_el_GR.ts
+++ b/share/translations/seamly2d_el_GR.ts
@@ -9460,6 +9460,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14923,299 +14931,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Γραμμή_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Τόξο_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Γραμμή_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Τόξο_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_en_CA.ts b/share/translations/seamly2d_en_CA.ts
index a5d1c09ba753..4ec37f8ada56 100644
--- a/share/translations/seamly2d_en_CA.ts
+++ b/share/translations/seamly2d_en_CA.ts
@@ -9463,6 +9463,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14928,299 +14936,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+ M_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Line_
+
+
+
+ Leave the _ symbol in translation
+ AngleLine_
+
+
+
+ Leave the _ symbol in translation
+ Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+ RadiusArc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Angle1Arc_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Angle1Spl_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Spl_
+
+
+
+ Leave the _ symbol in translation
+ C1LengthSpl_
+
+
+
+ Leave the _ symbol in translation
+ C2LengthSpl_
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
- M_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Line_
-
-
-
- Leave the _ symbol in translation
- AngleLine_
-
-
-
- Leave the _ symbol in translation
- Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
- RadiusArc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Angle1Arc_
-
-
-
- Leave the _ symbol in translation
- Angle2Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Angle1Spl_
-
-
-
- Leave the _ symbol in translation
- Angle2Spl_
-
-
-
- Leave the _ symbol in translation
- C1LengthSpl_
-
-
-
- Leave the _ symbol in translation
- C2LengthSpl_
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_en_GB.ts b/share/translations/seamly2d_en_GB.ts
index 58476d74c66c..c5e9538b000f 100644
--- a/share/translations/seamly2d_en_GB.ts
+++ b/share/translations/seamly2d_en_GB.ts
@@ -9463,6 +9463,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14928,300 +14936,334 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Line_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
radTodegSine function working with radians
-Usage: sin(angle θ in radians)
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
sinCosine function working with radians
-Usage: cos(angle θ in radians)
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
cosTangent function working with radians
-Usage: tan(angle θ in radians)
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
tanInverse sine function working with radians
-Usage: asin(x)
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
asinInverse cosine function working with radians
-Usage: acos(x)
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
acosInverse tangent function working with radians
-Usage: atan(x)
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
tanhInverse Hyperbolic sine function
-Usage: asinh(x)
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
tanDInverse sine function working with degrees
-Usage: asinD(x)
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
asinDInverse cosine function working with degrees
-Usage: acosD(x)
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
acosDInverse tangent function working with degrees
-Usage: atanD(x)
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
atanDLogarithm to the base 2
-Usage: log2(x)
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
log2
- Logarithm to the base 10
-Usage: log10(x)
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1log10Logarithm to the base 10
-Usage: log(x)
+Usage: log(x greater than 0)
+Example: log(10) = 1
logLogarithm to base e (2.71828...)
-Usage: ln(x)
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906expSquare root of a value
-Usage: sqrt(x)
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
signRound to nearest integer
-Usage: rint(float x)
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
rintAbsolute value
-Usage: abs(x)
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
fmod
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Line_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
- VisToolCubicBezierPath
diff --git a/share/translations/seamly2d_en_IN.ts b/share/translations/seamly2d_en_IN.ts
index 325cde723dca..bf0bbed8b764 100644
--- a/share/translations/seamly2d_en_IN.ts
+++ b/share/translations/seamly2d_en_IN.ts
@@ -9463,6 +9463,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14928,299 +14936,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+ M_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Line_
+
+
+
+ Leave the _ symbol in translation
+ AngleLine_
+
+
+
+ Leave the _ symbol in translation
+ Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+ RadiusArc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Angle1Arc_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Angle1Spl_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Spl_
+
+
+
+ Leave the _ symbol in translation
+ C1LengthSpl_
+
+
+
+ Leave the _ symbol in translation
+ C2LengthSpl_
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
- M_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Line_
-
-
-
- Leave the _ symbol in translation
- AngleLine_
-
-
-
- Leave the _ symbol in translation
- Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
- RadiusArc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Angle1Arc_
-
-
-
- Leave the _ symbol in translation
- Angle2Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Angle1Spl_
-
-
-
- Leave the _ symbol in translation
- Angle2Spl_
-
-
-
- Leave the _ symbol in translation
- C1LengthSpl_
-
-
-
- Leave the _ symbol in translation
- C2LengthSpl_
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_en_US.ts b/share/translations/seamly2d_en_US.ts
index dd504193f2a6..c5e9538b000f 100644
--- a/share/translations/seamly2d_en_US.ts
+++ b/share/translations/seamly2d_en_US.ts
@@ -9463,6 +9463,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14928,299 +14936,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Line_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Line_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_es_ES.ts b/share/translations/seamly2d_es_ES.ts
index 55c5887405c2..16d93865b2cf 100644
--- a/share/translations/seamly2d_es_ES.ts
+++ b/share/translations/seamly2d_es_ES.ts
@@ -4200,14 +4200,6 @@ for writing
No es posible abrir el archivo
%1
para la escritura
-
-
-
- No se puede obtener acceso exclusivo al archivo
-%1
-Posiblemente el archivo ya está siendo descargado.
@@ -4227,6 +4219,12 @@ Do you want to download it?
Una nueva versión %1 está disponible.
¿Quiere descargarla?
+
+
+
+ GroupsWidget
@@ -5219,14 +5217,6 @@ El programa se proporciona TAL CUAL, SIN GARANTÍA DE NINGÚN TIPO, INCLUIDAS LA
Área descendente
-
-
- Los márgenes van más allá de la impresión.
-
-¿Aplicar ajustes de todos modos?
- Centímetros
@@ -5354,6 +5344,12 @@ Apply settings anyway?
PrinterNinguno
+
+
+
+ LineTypeComboBox
@@ -9541,6 +9537,14 @@ actualización:
Utilice siempre el lápiz actual
+
+
+ Desplazamiento automático
+
+
+
+ Rueda del ratón
+ PreferencesPathPage
@@ -10343,20 +10347,6 @@ actualización:
Separador decimal:
-
-
- Selecciona el carácter separador decimal a utilizar.
-Si está marcada, se utiliza el separador de la configuración regional del usuario.
-Si no se selecciona, se utiliza el punto.
-
-
-
- Si esta opción está seleccionada, no se mostrará la ventana de bienvenida.
-Puede cambiar esta configuración en las preferencias de SeamlyMe.
- GUI Idioma:
@@ -10385,6 +10375,17 @@ Puede cambiar esta configuración en las preferencias de SeamlyMe.
Pulgadas
+
+
+
+
+
+
+
+ SeamlyWelcomeDialog
@@ -10408,12 +10409,6 @@ Puede cambiar esta configuración en las preferencias de SeamlyMe.
Separador decimal:
-
-
- Si esta opción está seleccionada, no se mostrará la ventana de bienvenida.
-Puede cambiar esta configuración en las preferencias de Seamly2D.
- GUI Idioma:
@@ -10446,14 +10441,6 @@ Puede cambiar esta configuración en las preferencias de Seamly2D.
Elija las unidades, el separador decimal, el idioma y el sonido de selección que prefiera. (Puede cambiarlos más adelante.)
-
-
- Selecciona el carácter separador decimal a utilizar.
-Si está marcada, se utiliza el separador de la configuración regional del usuario.
-Si no se selecciona, se utiliza el punto.
- Sonido:
@@ -10462,6 +10449,17 @@ Si no se selecciona, se utiliza el punto.
Establece el sonido del clic de selección del nodo.
+
+
+
+
+
+
+
+ SetPieceColor
@@ -15212,333 +15210,333 @@ load in SeamlyME as usual.
marcador de posiciónwLomo
+
+
+ Leave the _ symbol in translation
+ M_
+
+
+
+ Leave the _ symbol in translation
+ Variable_
+
+
+
+ Leave the _ symbol in translation
+ Línea_
+
+
+
+ Leave the _ symbol in translation
+ AngleLine_
+
+
+
+ Leave the _ symbol in translation
+ Arco_
+
+
+
+ Leave the _ symbol in translation
+ ElArco_
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+ RadiusArc_
+
+
+
+ Leave the _ symbol in translation
+ Radius1ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Radius2ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Angle1Arc_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Arc_
+
+
+
+ Leave the _ symbol in translation
+ Angle1ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Angle2ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Angle1Spl_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Spl_
+
+
+
+ Leave the _ symbol in translation
+ C1LengthSpl_
+
+
+
+ Leave the _ symbol in translation
+ C2LengthSpl_
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- Convierte grados a radianes Uso: degTorad(ángulo θ en grados)
-
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ Converts radians to degrees
-Usage: radTodeg(angle θ in radians)
- Convierte radianes a grados Uso: radTodeg(ángulo θ en radianes)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- Función seno trabaja con radianes Uso: sin(ángulo θ en radianes)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- Función coseno trabaja con radianes Uso: cos(ángulo θ en radianes)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- Función tangente trabaja con radianes Uso: tan(ángulo θ en radianes)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- Función seno inverso trabaja con radianes Uso: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- Función coseno inverso trabaja con radianes Uso: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- Función tangente inversa trabaja con radianes Uso: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- Función seno hiperbólica Uso: sinh(ángulo θ en radianes)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- Uso del coseno hiperbólico: cosh (ángulo θ en radianes)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- Función tangente hiperbólica Uso: tanh(ángulo θ en radianes)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- Función seno hiperbólica inversa Uso: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- Función coseno hiperbólica inversa Uso: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- Función tangente hiperbólica inversa Uso: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- Función seno trabaja con grados Uso: sinD(ángulo θ en grados)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- Función coseno trabaja con grados Uso: cosD(ángulo θ en grados)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- Función tangente trabaja con grados Uso: tanD(ángulo θ en grados)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- Función seno inverso trabaja con grados Uso: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- Función coseno inverso trabaja con grados Uso: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- Función tangente inversa trabaja con grados Uso: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- Logaritmo en base 2 Uso: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- Logaritmo en base 10 Uso: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- Logaritmo en base 10 Uso: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- Logaritmo en base e (2,71828...) Uso: ln(x)
- in
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ in
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- E elevado a la potencia x Uso: exp(x) donde e = 2,718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- Raíz cuadrada de un valor Uso: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- Función de signo -1 si x<0; 1 si x>0 Uso: signo(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- Redondear al entero más cercano Uso: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- Valor absoluto Uso: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- Mínimo de todos los argumentos Uso: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- Máximo de todos los argumentos Uso: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- Suma de todos los argumentos Uso: suma(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- Valor medio de todos los argumentos Uso: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- Devuelve el resto en coma flotante de x/y (redondeado hacia cero) Uso: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
- M_
-
-
-
- Leave the _ symbol in translation
- Variable_
-
-
-
- Leave the _ symbol in translation
- Línea_
-
-
-
- Leave the _ symbol in translation
- AngleLine_
-
-
-
- Leave the _ symbol in translation
- Arco_
-
-
-
- Leave the _ symbol in translation
- ElArco_
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
- RadiusArc_
-
-
-
- Leave the _ symbol in translation
- Radius1ElArc_
-
-
-
- Leave the _ symbol in translation
- Radius2ElArc_
-
-
-
- Leave the _ symbol in translation
- Angle1Arc_
-
-
-
- Leave the _ symbol in translation
- Angle2Arc_
-
-
-
- Leave the _ symbol in translation
- Angle1ElArc_
-
-
-
- Leave the _ symbol in translation
- Angle2ElArc_
-
-
-
- Leave the _ symbol in translation
- Angle1Spl_
-
-
-
- Leave the _ symbol in translation
- Angle2Spl_
-
-
-
- Leave the _ symbol in translation
- C1LengthSpl_
-
-
-
- Leave the _ symbol in translation
- C2LengthSpl_
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_fi_FI.ts b/share/translations/seamly2d_fi_FI.ts
index 5bd7ac92ad4e..68d85c3e60f5 100644
--- a/share/translations/seamly2d_fi_FI.ts
+++ b/share/translations/seamly2d_fi_FI.ts
@@ -9460,6 +9460,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14924,299 +14932,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Viiva_
+
+
+
+ Leave the _ symbol in translation
+ KulmaViiva_
+
+
+
+ Leave the _ symbol in translation
+ Kaari_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Viiva_
-
-
-
- Leave the _ symbol in translation
- KulmaViiva_
-
-
-
- Leave the _ symbol in translation
- Kaari_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_fr_FR.ts b/share/translations/seamly2d_fr_FR.ts
index 3f0c39bc4a48..ab0091d11d32 100644
--- a/share/translations/seamly2d_fr_FR.ts
+++ b/share/translations/seamly2d_fr_FR.ts
@@ -9463,6 +9463,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14927,299 +14935,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Ligne_
+
+
+
+ Leave the _ symbol in translation
+ AngleLine_
+
+
+
+ Leave the _ symbol in translation
+ Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+ RadiusArc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Angle1Arc_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Arc_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Angle1Spl_
+
+
+
+ Leave the _ symbol in translation
+ Angle2Spl_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Ligne_
-
-
-
- Leave the _ symbol in translation
- AngleLine_
-
-
-
- Leave the _ symbol in translation
- Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
- RadiusArc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Angle1Arc_
-
-
-
- Leave the _ symbol in translation
- Angle2Arc_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Angle1Spl_
-
-
-
- Leave the _ symbol in translation
- Angle2Spl_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_he_IL.ts b/share/translations/seamly2d_he_IL.ts
index eb77d9da17e3..2701172b2bd9 100644
--- a/share/translations/seamly2d_he_IL.ts
+++ b/share/translations/seamly2d_he_IL.ts
@@ -9459,6 +9459,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14921,298 +14929,332 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
Converts radians to degrees
-Usage: radTodeg(angle θ in radians)
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
Sine function working with radians
-Usage: sin(angle θ in radians)
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
Cosine function working with radians
-Usage: cos(angle θ in radians)
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
Tangent function working with radians
-Usage: tan(angle θ in radians)
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
Inverse sine function working with radians
-Usage: asin(x)
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
Inverse cosine function working with radians
-Usage: acos(x)
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
Inverse tangent function working with radians
-Usage: atan(x)
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
Hyperbolic sine function
-Usage: sinh(angle θ in radians)
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
Hyperbolic cosine
-Usage: cosh(angle θ in radians)
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
Hyperbolic tangent function
-Usage: tanh(angle θ in radians)
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
Inverse Hyperbolic sine function
-Usage: asinh(x)
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
Inverse Hyperbolic cosine function
-Usage: acosh(x)
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
Inverse Hyperbolic tangent function
-Usage: atanh(x)
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
Sine function working with degrees
-Usage: sinD(angle θ in degrees)
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
Cosine function working with degrees
-Usage: cosD(angle θ in degrees)
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
Tangent function working with degrees
-Usage: tanD(angle θ in degrees)
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
Inverse sine function working with degrees
-Usage: asinD(x)
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
Inverse cosine function working with degrees
-Usage: acosD(x)
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
Inverse tangent function working with degrees
-Usage: atanD(x)
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
Logarithm to the base 2
-Usage: log2(x)
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
- Logarithm to the base 10
-Usage: log10(x)
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1Logarithm to the base 10
-Usage: log(x)
+Usage: log(x greater than 0)
+Example: log(10) = 1
Logarithm to base e (2.71828...)
-Usage: ln(x)
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
- E raised to the power of x
-Usage: exp(x) where e = 2.718
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906Square root of a value
-Usage: sqrt(x)
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
Sign function -1 if x<0; 1 if x>0
-Usage: sign(x)
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
Round to nearest integer
-Usage: rint(float x)
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
Absolute value
-Usage: abs(x)
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
Min of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
Max of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
Sum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
Mean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
Returns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
diff --git a/share/translations/seamly2d_id_ID.ts b/share/translations/seamly2d_id_ID.ts
index 10475b1fe4d7..c0555f119019 100644
--- a/share/translations/seamly2d_id_ID.ts
+++ b/share/translations/seamly2d_id_ID.ts
@@ -9460,6 +9460,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14922,298 +14930,332 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
Converts radians to degrees
-Usage: radTodeg(angle θ in radians)
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
Sine function working with radians
-Usage: sin(angle θ in radians)
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
Cosine function working with radians
-Usage: cos(angle θ in radians)
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
Tangent function working with radians
-Usage: tan(angle θ in radians)
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
Inverse sine function working with radians
-Usage: asin(x)
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
Inverse cosine function working with radians
-Usage: acos(x)
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
Inverse tangent function working with radians
-Usage: atan(x)
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
Hyperbolic sine function
-Usage: sinh(angle θ in radians)
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
Hyperbolic cosine
-Usage: cosh(angle θ in radians)
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
Hyperbolic tangent function
-Usage: tanh(angle θ in radians)
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
Inverse Hyperbolic sine function
-Usage: asinh(x)
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
Inverse Hyperbolic cosine function
-Usage: acosh(x)
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
Inverse Hyperbolic tangent function
-Usage: atanh(x)
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
Sine function working with degrees
-Usage: sinD(angle θ in degrees)
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
Cosine function working with degrees
-Usage: cosD(angle θ in degrees)
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
Tangent function working with degrees
-Usage: tanD(angle θ in degrees)
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
Inverse sine function working with degrees
-Usage: asinD(x)
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
Inverse cosine function working with degrees
-Usage: acosD(x)
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
Inverse tangent function working with degrees
-Usage: atanD(x)
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
Logarithm to the base 2
-Usage: log2(x)
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
- Logarithm to the base 10
-Usage: log10(x)
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1Logarithm to the base 10
-Usage: log(x)
+Usage: log(x greater than 0)
+Example: log(10) = 1
Logarithm to base e (2.71828...)
-Usage: ln(x)
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
- E raised to the power of x
-Usage: exp(x) where e = 2.718
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906Square root of a value
-Usage: sqrt(x)
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
Sign function -1 if x<0; 1 if x>0
-Usage: sign(x)
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
Round to nearest integer
-Usage: rint(float x)
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
Absolute value
-Usage: abs(x)
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
Min of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
Max of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
Sum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
Mean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
Returns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
diff --git a/share/translations/seamly2d_it_IT.ts b/share/translations/seamly2d_it_IT.ts
index 732b8d4ef46c..a683434ee6c2 100644
--- a/share/translations/seamly2d_it_IT.ts
+++ b/share/translations/seamly2d_it_IT.ts
@@ -9463,6 +9463,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14926,299 +14934,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Linea_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Arco_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ RaggioArco_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Linea_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Arco_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- RaggioArco_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_nl_NL.ts b/share/translations/seamly2d_nl_NL.ts
index 9fb190379d37..c0c02fa7f0fb 100644
--- a/share/translations/seamly2d_nl_NL.ts
+++ b/share/translations/seamly2d_nl_NL.ts
@@ -9468,6 +9468,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14938,299 +14946,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+ M_
+
+
+
+ Leave the _ symbol in translation
+ Variable_
+
+
+
+ Leave the _ symbol in translation
+ Lijn_
+
+
+
+ Leave the _ symbol in translation
+ HoekLijn_
+
+
+
+ Leave the _ symbol in translation
+ Boog_
+
+
+
+ Leave the _ symbol in translation
+ EllBoog_
+
+
+
+ Leave the _ symbol in translation
+ Spl_
+
+
+
+ Leave the _ symbol in translation
+ Straalboog_
+
+
+
+ Leave the _ symbol in translation
+ Radius1ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Radius2ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Hoek1boog_
+
+
+
+ Leave the _ symbol in translation
+ Hoek2boog_
+
+
+
+ Leave the _ symbol in translation
+ Angle1ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Angle2ElArc_
+
+
+
+ Leave the _ symbol in translation
+ Hoek1Vvk_
+
+
+
+ Leave the _ symbol in translation
+ Hoek2Vvk_
+
+
+
+ Leave the _ symbol in translation
+ C1LengteVvk_
+
+
+
+ Leave the _ symbol in translation
+ C2LengteVvk_
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
- M_
-
-
-
- Leave the _ symbol in translation
- Variable_
-
-
-
- Leave the _ symbol in translation
- Lijn_
-
-
-
- Leave the _ symbol in translation
- HoekLijn_
-
-
-
- Leave the _ symbol in translation
- Boog_
-
-
-
- Leave the _ symbol in translation
- EllBoog_
-
-
-
- Leave the _ symbol in translation
- Spl_
-
-
-
- Leave the _ symbol in translation
- Straalboog_
-
-
-
- Leave the _ symbol in translation
- Radius1ElArc_
-
-
-
- Leave the _ symbol in translation
- Radius2ElArc_
-
-
-
- Leave the _ symbol in translation
- Hoek1boog_
-
-
-
- Leave the _ symbol in translation
- Hoek2boog_
-
-
-
- Leave the _ symbol in translation
- Angle1ElArc_
-
-
-
- Leave the _ symbol in translation
- Angle2ElArc_
-
-
-
- Leave the _ symbol in translation
- Hoek1Vvk_
-
-
-
- Leave the _ symbol in translation
- Hoek2Vvk_
-
-
-
- Leave the _ symbol in translation
- C1LengteVvk_
-
-
-
- Leave the _ symbol in translation
- C2LengteVvk_
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_pt_BR.ts b/share/translations/seamly2d_pt_BR.ts
index 269952afefe8..1e8794f7ee1c 100644
--- a/share/translations/seamly2d_pt_BR.ts
+++ b/share/translations/seamly2d_pt_BR.ts
@@ -9459,6 +9459,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14921,299 +14929,333 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Linha_
+
+
+
+ Leave the _ symbol in translation
+ LinhaDeAngulo_
+
+
+
+ Leave the _ symbol in translation
+ Arco_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Linha_
-
-
-
- Leave the _ symbol in translation
- LinhaDeAngulo_
-
-
-
- Leave the _ symbol in translation
- Arco_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_ro_RO.ts b/share/translations/seamly2d_ro_RO.ts
index 44d3c17120ec..07119d3f1821 100644
--- a/share/translations/seamly2d_ro_RO.ts
+++ b/share/translations/seamly2d_ro_RO.ts
@@ -9459,6 +9459,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14921,298 +14929,332 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
Converts radians to degrees
-Usage: radTodeg(angle θ in radians)
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
Sine function working with radians
-Usage: sin(angle θ in radians)
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
sinCosine function working with radians
-Usage: cos(angle θ in radians)
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
cosTangent function working with radians
-Usage: tan(angle θ in radians)
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
tanInverse sine function working with radians
-Usage: asin(x)
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
asinInverse cosine function working with radians
-Usage: acos(x)
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
acosInverse tangent function working with radians
-Usage: atan(x)
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
tanhInverse Hyperbolic sine function
-Usage: asinh(x)
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
Cosine function working with degrees
-Usage: cosD(angle θ in degrees)
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
Tangent function working with degrees
-Usage: tanD(angle θ in degrees)
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
Inverse sine function working with degrees
-Usage: asinD(x)
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
Inverse cosine function working with degrees
-Usage: acosD(x)
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
Inverse tangent function working with degrees
-Usage: atanD(x)
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
Logarithm to the base 2
-Usage: log2(x)
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
log2
- Logarithm to the base 10
-Usage: log10(x)
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1log10Logarithm to the base 10
-Usage: log(x)
+Usage: log(x greater than 0)
+Example: log(10) = 1
logLogarithm to base e (2.71828...)
-Usage: ln(x)
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906expSquare root of a value
-Usage: sqrt(x)
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
signRound to nearest integer
-Usage: rint(float x)
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
rintAbsolute value
-Usage: abs(x)
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
diff --git a/share/translations/seamly2d_ru_RU.ts b/share/translations/seamly2d_ru_RU.ts
index eed331066ddf..167b8ab4bbfd 100644
--- a/share/translations/seamly2d_ru_RU.ts
+++ b/share/translations/seamly2d_ru_RU.ts
@@ -9495,6 +9495,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14971,299 +14979,333 @@ load in SeamlyME as usual.
placeholderсНа Сгиб
+
+
+ Leave the _ symbol in translation
+ М_
+
+
+
+ Leave the _ symbol in translation
+ Переменная_
+
+
+
+ Leave the _ symbol in translation
+ Линия_
+
+
+
+ Leave the _ symbol in translation
+ УголЛинии_
+
+
+
+ Leave the _ symbol in translation
+ Дуга_
+
+
+
+ Leave the _ symbol in translation
+ Дуга_
+
+
+
+ Leave the _ symbol in translation
+ Спл_
+
+
+
+ Leave the _ symbol in translation
+ РадиусДуги_
+
+
+
+ Leave the _ symbol in translation
+ Радиус1Дуги_
+
+
+
+ Leave the _ symbol in translation
+ Радиус2Дуги_
+
+
+
+ Leave the _ symbol in translation
+ Улог1Дуги_
+
+
+
+ Leave the _ symbol in translation
+ Угол2Дуги_
+
+
+
+ Leave the _ symbol in translation
+ Улог1Дуги_
+
+
+
+ Leave the _ symbol in translation
+ Угол2Дуги_
+
+
+
+ Leave the _ symbol in translation
+ Угол1Спл_
+
+
+
+ Leave the _ symbol in translation
+ Угол2Спл_
+
+
+
+ Leave the _ symbol in translation
+ С1ДлинаСпл_
+
+
+
+ Leave the _ symbol in translation
+ С2ДлинаСпл_
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
- degTorad
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
+ degToradConverts radians to degrees
-Usage: radTodeg(angle θ in radians)
- radTodeg
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
+ radTodegSine function working with radians
-Usage: sin(angle θ in radians)
- sin
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
+ sinCosine function working with radians
-Usage: cos(angle θ in radians)
- cos
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
+ cosTangent function working with radians
-Usage: tan(angle θ in radians)
- tan
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
+ tanInverse sine function working with radians
-Usage: asin(x)
- asin
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
+ asinInverse cosine function working with radians
-Usage: acos(x)
- acos
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
+ acosInverse tangent function working with radians
-Usage: atan(x)
- atan
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
+ atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
- sinh
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
+ sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
- cosh
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
+ coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
- tanh
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
+ tanhInverse Hyperbolic sine function
-Usage: asinh(x)
- asinh
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
+ asinhInverse Hyperbolic cosine function
-Usage: acosh(x)
- acosh
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
+ acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
- atanh
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
+ atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
- sinD
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
+ sinDCosine function working with degrees
-Usage: cosD(angle θ in degrees)
- cosD
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
+ cosDTangent function working with degrees
-Usage: tanD(angle θ in degrees)
- tanD
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
+ tanDInverse sine function working with degrees
-Usage: asinD(x)
- asinD
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
+ asinDInverse cosine function working with degrees
-Usage: acosD(x)
- acosD
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
+ acosDInverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
- log10
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1
+ log10Logarithm to the base 10
-Usage: log(x)
- log
+Usage: log(x greater than 0)
+Example: log(10) = 1
+ logLogarithm to base e (2.71828...)
-Usage: ln(x)
- ln
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
+ ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
- exp
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906
+ expSquare root of a value
-Usage: sqrt(x)
- sqrt
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
+ sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
- sign
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
+ signRound to nearest integer
-Usage: rint(float x)
- rint
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
+ rintAbsolute value
-Usage: abs(x)
- abs
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
+ absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
- min
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
+ minMax of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
- max
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
+ maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
- sum
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
+ sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
- avg
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
+ avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
- fmod
-
-
-
- Leave the _ symbol in translation
- М_
-
-
-
- Leave the _ symbol in translation
- Переменная_
-
-
-
- Leave the _ symbol in translation
- Линия_
-
-
-
- Leave the _ symbol in translation
- УголЛинии_
-
-
-
- Leave the _ symbol in translation
- Дуга_
-
-
-
- Leave the _ symbol in translation
- Дуга_
-
-
-
- Leave the _ symbol in translation
- Спл_
-
-
-
- Leave the _ symbol in translation
- РадиусДуги_
-
-
-
- Leave the _ symbol in translation
- Радиус1Дуги_
-
-
-
- Leave the _ symbol in translation
- Радиус2Дуги_
-
-
-
- Leave the _ symbol in translation
- Улог1Дуги_
-
-
-
- Leave the _ symbol in translation
- Угол2Дуги_
-
-
-
- Leave the _ symbol in translation
- Улог1Дуги_
-
-
-
- Leave the _ symbol in translation
- Угол2Дуги_
-
-
-
- Leave the _ symbol in translation
- Угол1Спл_
-
-
-
- Leave the _ symbol in translation
- Угол2Спл_
-
-
-
- Leave the _ symbol in translation
- С1ДлинаСпл_
-
-
-
- Leave the _ symbol in translation
- С2ДлинаСпл_
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
+ fmod
diff --git a/share/translations/seamly2d_uk_UA.ts b/share/translations/seamly2d_uk_UA.ts
index 4f6dfe56501b..8123f1801579 100644
--- a/share/translations/seamly2d_uk_UA.ts
+++ b/share/translations/seamly2d_uk_UA.ts
@@ -9462,6 +9462,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14926,300 +14934,334 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+ М_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Лінія_
+
+
+
+ Leave the _ symbol in translation
+ КутЛінії_
+
+
+
+ Leave the _ symbol in translation
+ Дуга_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Спл_
+
+
+
+ Leave the _ symbol in translation
+ РадіусДуги_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Кут1Дуги_
+
+
+
+ Leave the _ symbol in translation
+ Кут2Дуги_
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+ Кут1Спл_
+
+
+
+ Leave the _ symbol in translation
+ Кут2Спл_
+
+
+
+ Leave the _ symbol in translation
+ К1ДовжинаСпл_
+
+
+
+ Leave the _ symbol in translation
+ К2ДовжинаСпл_
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
Converts radians to degrees
-Usage: radTodeg(angle θ in radians)
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
Sine function working with radians
-Usage: sin(angle θ in radians)
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
sinCosine function working with radians
-Usage: cos(angle θ in radians)
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
cosTangent function working with radians
-Usage: tan(angle θ in radians)
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
tanInverse sine function working with radians
-Usage: asin(x)
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
asinInverse cosine function working with radians
-Usage: acos(x)
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
acosInverse tangent function working with radians
-Usage: atan(x)
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
atanHyperbolic sine function
-Usage: sinh(angle θ in radians)
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
sinhHyperbolic cosine
-Usage: cosh(angle θ in radians)
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
coshHyperbolic tangent function
-Usage: tanh(angle θ in radians)
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
tanhInverse Hyperbolic sine function
-Usage: asinh(x)
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
Inverse Hyperbolic cosine function
-Usage: acosh(x)
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
acoshInverse Hyperbolic tangent function
-Usage: atanh(x)
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
atanhSine function working with degrees
-Usage: sinD(angle θ in degrees)
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
Cosine function working with degrees
-Usage: cosD(angle θ in degrees)
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
Tangent function working with degrees
-Usage: tanD(angle θ in degrees)
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
Inverse sine function working with degrees
-Usage: asinD(x)
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
Inverse cosine function working with degrees
-Usage: acosD(x)
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
Inverse tangent function working with degrees
-Usage: atanD(x)
- atanD
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
+ atanDLogarithm to the base 2
-Usage: log2(x)
- log2
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
+ log2
- Logarithm to the base 10
-Usage: log10(x)
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1log10Logarithm to the base 10
-Usage: log(x)
+Usage: log(x greater than 0)
+Example: log(10) = 1
logLogarithm to base e (2.71828...)
-Usage: ln(x)
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
ln
- E raised to the power of x
-Usage: exp(x) where e = 2.718
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906expSquare root of a value
-Usage: sqrt(x)
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
sqrtSign function -1 if x<0; 1 if x>0
-Usage: sign(x)
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
signRound to nearest integer
-Usage: rint(float x)
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
rintAbsolute value
-Usage: abs(x)
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
absMin of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
Max of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
maxSum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
sumMean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
avgReturns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
fmod
-
-
- Leave the _ symbol in translation
- М_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Лінія_
-
-
-
- Leave the _ symbol in translation
- КутЛінії_
-
-
-
- Leave the _ symbol in translation
- Дуга_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Спл_
-
-
-
- Leave the _ symbol in translation
- РадіусДуги_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Кут1Дуги_
-
-
-
- Leave the _ symbol in translation
- Кут2Дуги_
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
- Кут1Спл_
-
-
-
- Leave the _ symbol in translation
- Кут2Спл_
-
-
-
- Leave the _ symbol in translation
- К1ДовжинаСпл_
-
-
-
- Leave the _ symbol in translation
- К2ДовжинаСпл_
- VisToolCubicBezierPath
diff --git a/share/translations/seamly2d_zh_CN.ts b/share/translations/seamly2d_zh_CN.ts
index 2ab6418878e5..ae44fd3e354b 100644
--- a/share/translations/seamly2d_zh_CN.ts
+++ b/share/translations/seamly2d_zh_CN.ts
@@ -9459,6 +9459,14 @@ Press enter to temporarily add it to the list.
+
+
+
+
+
+
+
+ PreferencesPathPage
@@ -14921,298 +14929,332 @@ load in SeamlyME as usual.
placeholder
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+
+
+
+ Leave the _ symbol in translation
+
+ Converts degrees to radians
-Usage: degTorad(angle θ in degrees)
+Usage: degTorad(angle θ in degrees) → returns an angle in radians
+Example: degTorad(180) = 3.14159
Converts radians to degrees
-Usage: radTodeg(angle θ in radians)
+Usage: radTodeg(angle θ in radians) → returns an angle in degrees
+Example: radTodeg(3.14159) = 180
Sine function working with radians
-Usage: sin(angle θ in radians)
+Usage: sin(angle θ in radians) → returns a number between -1 and 1
+Example: sin(90) = 0.893997
Cosine function working with radians
-Usage: cos(angle θ in radians)
+Usage: cos(angle θ in radians) → returns a number between -1 and 1
+Example: cos(1) = 0.540302
Tangent function working with radians
-Usage: tan(angle θ in radians)
+Usage: tan(angle θ in radians)
+Example: tan(1) = 1.55741
Inverse sine function working with radians
-Usage: asin(x)
+Usage: asin(x between -1 and 1) → returns an angle in radians
+Example: asin(-1) = -1.5708
Inverse cosine function working with radians
-Usage: acos(x)
+Usage: acos(x between -1 and 1) → returns an angle in radians
+Example: acos(0.1) = 1.47063
Inverse tangent function working with radians
-Usage: atan(x)
+Usage: atan(x) → returns an angle in radians
+Example: atan(1) = 0.78538
Hyperbolic sine function
-Usage: sinh(angle θ in radians)
+Usage: sinh(θ)
+Example: sinh(1) = 1.1752
Hyperbolic cosine
-Usage: cosh(angle θ in radians)
+Usage: cosh(θ) → returns a number greater than or equal to 1
+Example: cosh(0) = 1
Hyperbolic tangent function
-Usage: tanh(angle θ in radians)
+Usage: tanh(θ) → returns a number between -1 and 1 (excluded)
+Example: tanh(1) = 0.761594
Inverse Hyperbolic sine function
-Usage: asinh(x)
+Usage: asinh(x)
+Example: asinh(90) = 5.19299
Inverse Hyperbolic cosine function
-Usage: acosh(x)
+Usage: acosh(x greater than or equal to 1)
+Example: acosh(2) = 1.31696
Inverse Hyperbolic tangent function
-Usage: atanh(x)
+Usage: atanh(x between -1 and 1 (excluded))
+Example: atanh(0,99) = 2.64665
Sine function working with degrees
-Usage: sinD(angle θ in degrees)
+Usage: sinD(angle θ in degrees) → returns a number between -1 and 1
+Example: sinD(90) = 1
Cosine function working with degrees
-Usage: cosD(angle θ in degrees)
+Usage: cosD(angle θ in degrees) → returns a number between -1 and 1
+Example: cosD(180) = -1
Tangent function working with degrees
-Usage: tanD(angle θ in degrees)
+Usage: tanD(angle θ in degrees)
+Example: tanD(45) = 1
Inverse sine function working with degrees
-Usage: asinD(x)
+Usage: asinD(x between -1 and 1) → returns an angle in degrees
+Example: asinD(1) = 90
Inverse cosine function working with degrees
-Usage: acosD(x)
+Usage: acosD(x between -1 and 1) → returns an angle in degrees
+Example: acosD(-1) = 180
Inverse tangent function working with degrees
-Usage: atanD(x)
+Usage: atanD(x) → returns an angle in degrees
+Example: atanD(1) = 45
Logarithm to the base 2
-Usage: log2(x)
+Usage: log2(x greater than 0)
+Example: log2(10) = 3.32193
- Logarithm to the base 10
-Usage: log10(x)
+ Logarithm to the base 10 (same as log(x))
+Usage: log10(x greater than 0)
+Example: log10(10) = 1Logarithm to the base 10
-Usage: log(x)
+Usage: log(x greater than 0)
+Example: log(10) = 1
Logarithm to base e (2.71828...)
-Usage: ln(x)
+Usage: ln(x greater than 0)
+Example: ln(10) = 2.30259
- E raised to the power of x
-Usage: exp(x) where e = 2.718
+ e raised to the power of x where e = 2.718
+Usage: exp(x) → returns a positive number
+Example: exp(2) = 7.38906Square root of a value
-Usage: sqrt(x)
+Usage: sqrt(x greater than or equal to 0) → returns a positive number
+Example: sqrt(4) = 2
Sign function -1 if x<0; 1 if x>0
-Usage: sign(x)
+Usage: sign(x) → returns -1, 0 or 1
+Example: sign(-3) = -1
Round to nearest integer
-Usage: rint(float x)
+Usage: rint(x) → returns an integer number
+Example: rint(2.3) = 2
Absolute value
-Usage: abs(x)
+Usage: abs(x) → returns a positive number
+Example: abs(-5) = 5
Min of all arguments
-Usage: min(arg 1; arg 2; ... arg n)
+Usage: min(arg 1; arg 2; ... arg n)
+Example: min(2;3;4) = 2
Max of all arguments
-Usage: max(arg 1; arg 2; ... arg n)
+Usage: max(arg 1; arg 2; ... arg n)
+Example: max(2;3;4) = 4
Sum of all arguments
-Usage: sum(arg 1; arg 2; ... arg n)
+Usage: sum(arg 1; arg 2; ... arg n)
+Example: sum(2;3;4) = 9
Mean value of all arguments
-Usage: avg(arg 1; arg 2; ... arg n)
+Usage: avg(arg 1; arg 2; ... arg n)
+Example: avg(2;3;4) = 3
Returns the floating-point remainder of x/y (rounded towards zero)
-Usage: fmod(x; y)
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
-
-
-
-
- Leave the _ symbol in translation
+Usage: fmod(x; y)
+Example: fmod(3.3;2) = 1.3
From 22e950fe4ae24a946a463eb8b0d3489c1b2370ff Mon Sep 17 00:00:00 2001
From: DSCaskey <31944718+DSCaskey@users.noreply.github.com>
Date: Wed, 31 Jul 2024 21:52:32 -0400
Subject: [PATCH 3/3] fix font size and remove unwanted msleep
---
.../dialogs/configpages/preferencesgraphicsviewpage.ui | 10 ++++++++++
src/libs/vwidgets/vmaingraphicsview.cpp | 2 --
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui b/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui
index 3e3adc288a56..c3b6a85b766e 100644
--- a/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui
+++ b/src/app/seamly2d/dialogs/configpages/preferencesgraphicsviewpage.ui
@@ -1874,6 +1874,11 @@
+
+
+ 9
+
+ Autoscroll
@@ -2050,6 +2055,11 @@ border-radius: 4px;
+
+
+ 9
+
+ Mouse wheel
diff --git a/src/libs/vwidgets/vmaingraphicsview.cpp b/src/libs/vwidgets/vmaingraphicsview.cpp
index cbc52a176dc4..4b7131de4cc8 100644
--- a/src/libs/vwidgets/vmaingraphicsview.cpp
+++ b/src/libs/vwidgets/vmaingraphicsview.cpp
@@ -715,8 +715,6 @@ void VMainGraphicsView::mouseMoveEvent(QMouseEvent *event)
horz->setValue(horz->value() + (isRightToLeft() ? delta.x() : -delta.x()));
vert->setValue(vert->value() - delta.y());
m_ptStartPos = event->pos();
- unsigned long delay = static_cast(200 + (200 - qApp->Settings()->getAutoScrollSpeed()));
- QThread::msleep(10000); // delay is the inverse of the speed
}
else if ( isRubberBandActive )
{