Home
last modified time | relevance | path

Searched refs:scaleDistance (Results 1 – 5 of 5) sorted by relevance

/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/model/
H A DBackgroundImage.java33 private final float scaleDistance; field in BackgroundImage
45 public BackgroundImage(Content image, float scaleDistance, in BackgroundImage() argument
49 this(image, scaleDistance, scaleDistanceXStart, in BackgroundImage()
57 public BackgroundImage(Content image, float scaleDistance, in BackgroundImage() argument
62 this.scaleDistance = scaleDistance; in BackgroundImage()
85 return this.scaleDistance; in getScaleDistance()
124 return getScale(this.scaleDistance, in getScale()
135 public static float getScale(float scaleDistance, in getScale() argument
138 return (float)(scaleDistance in getScale()
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/viewcontroller/
H A DBackgroundImageWizardController.java63 private Float scaleDistance; field in BackgroundImageWizardController
291 public void setScaleDistance(Float scaleDistance) { in setScaleDistance() argument
292 if (scaleDistance != this.scaleDistance) { in setScaleDistance()
293 Float oldScaleDistance = this.scaleDistance; in setScaleDistance()
294 this.scaleDistance = scaleDistance; in setScaleDistance()
296 Property.SCALE_DISTANCE.name(), oldScaleDistance, scaleDistance); in setScaleDistance() local
304 return this.scaleDistance; in getScaleDistance()
/dports/print/scribus-devel/scribus-1.5.7/scribus/ui/
H A Dnodeeditpalette.cpp198 scaleDistance = new ScrSpinBox( 1, 16777215, this, 0); in NodePalette()
199 scaleDistance->setMaximumSize(114, 16777215); // ScrSpinBox is bigger for 4px than expected in NodePalette()
200 scaleDistance->setValues(-16777215, 16777215, 2, 30); in NodePalette()
232 gridLayout2->addWidget(scaleDistance, 2, 0, 1, 4); in NodePalette()
511 m_view->TransformPoly(8, 1, value2pts(scaleDistance->value(),m_doc->unitIndex())); in doReduce()
518 m_view->TransformPoly(9, 1, value2pts(scaleDistance->value(),m_doc->unitIndex())); in doEnlarge()
1141 scaleDistance->setToolTip( tr("Value to Enlarge or Shrink By")); in languageChange()
1157 bool sigBlocked3 = scaleDistance->blockSignals(true); in unitChange()
1161 scaleDistance->setNewUnit(m_doc->unitIndex()); in unitChange()
1165 scaleDistance->blockSignals(sigBlocked3); in unitChange()
H A Dnodeeditpalette.h77 ScrSpinBox *scaleDistance { nullptr };
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/swing/
H A DBackgroundImageWizardStepsPanel.java220 Float scaleDistance = controller.getScaleDistance(); in createComponents()
221 scaleDistanceSpinnerModel.setNullable(scaleDistance == null); in createComponents()
222 scaleDistanceSpinnerModel.setLength(scaleDistance); in createComponents()