Home
last modified time | relevance | path

Searched refs:GetZoomFactor (Results 1 – 25 of 139) sorted by relevance

123456

/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/libs/gcp/
H A Dreaction-arrow.cc145 m_x * theme->GetZoomFactor (), in AddItem()
146 m_y * theme->GetZoomFactor (), in AddItem()
147 (m_x + m_width) * theme->GetZoomFactor (), in AddItem()
148 (m_y + m_height) * theme->GetZoomFactor (), in AddItem()
324 xmin = (rect.x0 * x + rect.y0 * y) / pTheme->GetZoomFactor (); in PositionChild()
326 ymin = (rect.x0 * y - rect.y1 * x) / pTheme->GetZoomFactor (); in PositionChild()
329 xmin = (rect.x0 * x + rect.y1 * y) / pTheme->GetZoomFactor (); in PositionChild()
331 ymin = (rect.x0 * y - rect.y0 * x) / pTheme->GetZoomFactor (); in PositionChild()
336 xmin = (rect.x1 * x + rect.y0 * y) / pTheme->GetZoomFactor (); in PositionChild()
338 ymin = (rect.x1 * y - rect.y1 * x) / pTheme->GetZoomFactor (); in PositionChild()
[all …]
H A Dmechanism-arrow.cc251 x0 *= theme->GetZoomFactor (); in AddItem()
252 y0 *= theme->GetZoomFactor (); in AddItem()
253 x1 *= theme->GetZoomFactor (); in AddItem()
254 y1 *= theme->GetZoomFactor (); in AddItem()
267 x0 /= theme->GetZoomFactor (); in AddItem()
268 y0 /= theme->GetZoomFactor (); in AddItem()
270 x0 *= theme->GetZoomFactor (); in AddItem()
271 y0 *= theme->GetZoomFactor (); in AddItem()
281 x0 *= theme->GetZoomFactor (); in AddItem()
282 y0 *= theme->GetZoomFactor (); in AddItem()
[all …]
H A Dbond.cc577 m_Item->Move (x * theme->GetZoomFactor (), y * theme->GetZoomFactor ()); in Move()
667 x1 *= theme->GetZoomFactor (); in AddItem()
668 y1 *= theme->GetZoomFactor (); in AddItem()
669 x2 *= theme->GetZoomFactor (); in AddItem()
670 y2 *= theme->GetZoomFactor (); in AddItem()
690 x1 * theme->GetZoomFactor (), in AddItem()
691 y1 * theme->GetZoomFactor (), in AddItem()
692 x2 * theme->GetZoomFactor (), in AddItem()
693 y2 * theme->GetZoomFactor (), in AddItem()
705 x1 * theme->GetZoomFactor (), in AddItem()
[all …]
H A Dmesomery-arrow.cc116 m_x * theme->GetZoomFactor (), in AddItem()
117 m_y * theme->GetZoomFactor (), in AddItem()
118 (m_x + m_width) * theme->GetZoomFactor (), in AddItem()
119 (m_y + m_height) * theme->GetZoomFactor (), in AddItem()
H A Dreaction.cc85 double zf = pTheme->GetZoomFactor (); in Build()
143 dl = sqrt (dx * dx + dy * dy) / pTheme->GetArrowPadding () * pTheme->GetZoomFactor (); in Build()
247 y2 = step->GetYAlign () * pTheme->GetZoomFactor (); in OnSignal()
263 x1 += xpos = x2 / pTheme->GetZoomFactor () - x0; in OnSignal()
264 y1 += ypos = y2 / pTheme->GetZoomFactor () - y0; in OnSignal()
272 y2 = step->GetYAlign () * pTheme->GetZoomFactor (); in OnSignal()
288 step->Move (x1 - x2 / pTheme->GetZoomFactor (), y1 - y2 / pTheme->GetZoomFactor ()); in OnSignal()
H A Dreactant.cc186 double x = rect.x0 / pTheme->GetZoomFactor (); in AddStoichiometry()
192 Child->Move (rect.x1 / pTheme->GetZoomFactor () + pTheme->GetStoichiometryPadding () - x, 0.); in AddStoichiometry()
196 …tool->OnClicked (pView, text, rect.x0 * pTheme->GetZoomFactor (), GetYAlign () * pTheme->GetZoomFa… in AddStoichiometry()
235 double x = rect.x1 / pTheme->GetZoomFactor () + pTheme->GetStoichiometryPadding (); in OnSignal()
237 Child->Move (x - rect.x0 / pTheme->GetZoomFactor (), 0.); in OnSignal()
H A Dreaction-step.cc83 pOp->SetCoords (x / pTheme->GetZoomFactor (), y); in ReactionStep()
86 pOp->Move ((x - x0) / pTheme->GetZoomFactor (), 0); in ReactionStep()
95 cur->Move ((x - rect->x0) / pTheme->GetZoomFactor (), y - y0); in ReactionStep()
194 pOp->SetCoords(x / pTheme->GetZoomFactor (), y); in OnLoaded()
276 pOp->SetCoords(x / pTheme->GetZoomFactor (), y); in OnSignal()
279 pOp->Move ((x - x0) / pTheme->GetZoomFactor (), 0); in OnSignal()
283 pObj->Move ((x - rect.x0) / pTheme->GetZoomFactor (), y - pObj->GetYAlign ()); in OnSignal()
H A Delectron.cc299 x *= theme->GetZoomFactor (); in AddItem()
300 y *= theme->GetZoomFactor (); in AddItem()
303 x *= theme->GetZoomFactor (); in AddItem()
304 y *= theme->GetZoomFactor (); in AddItem()
H A Dbrackets.cc127 text->SetCoords (rect.x1 / theme->GetZoomFactor (), in AddItem()
128 (rect.y1 + theme->GetFontSize () / 3. / PANGO_SCALE) / theme->GetZoomFactor ()); in AddItem()
323 double x = rect.x1 / pTheme->GetZoomFactor (), in on_stoichiometry_add()
324 y = (rect.y1 + pTheme->GetFontSize () / 3. / PANGO_SCALE) / pTheme->GetZoomFactor (); in on_stoichiometry_add()
345 double x = rect.x1 / pTheme->GetZoomFactor (), in on_superscript_add()
346 y = rect.y0 / pTheme->GetZoomFactor (); in on_superscript_add()
H A Dtool.cc69 m_dZoomFactor = m_pView->GetZoomFactor (); in OnClicked()
93 m_dZoomFactor = m_pView->GetZoomFactor (); in OnMotion()
130 m_dZoomFactor = m_pView->GetZoomFactor(); in OnRightButtonClicked()
H A Dview.cc117 m_BaseLineOffset = m_CHeight / m_pDoc->GetTheme ()->GetZoomFactor (); in View()
207 double View::GetZoomFactor () in GetZoomFactor() function in gcp::View
209 return m_pDoc->GetTheme ()->GetZoomFactor (); in GetZoomFactor()
223 m_BaseLineOffset = m_CHeight / m_pDoc->GetTheme ()->GetZoomFactor (); in UpdateFont()
916 x1 = (x1 < 0.)? -x1 / pTheme->GetZoomFactor (): 0.; in EnsureSize()
917 y1 = (y1 < 0.)? -y1 / pTheme->GetZoomFactor (): 0.; in EnsureSize()
988 …bject && ((pAtom = m_CurObject->GetAtomAt (x / pTheme->GetZoomFactor (), y / pTheme->GetZoomFactor in OnButtonPressed()
1012 …Object->BuildContextualMenu (m_UIManager, m_CurObject, x / GetZoomFactor (), y / GetZoomFactor ()); in OnButtonPressed()
1058 …pret_cast <Atom *> (m_CurObject->GetAtomAt (x / theme->GetZoomFactor (), y / theme->GetZoomFactor in OnMotion()
1095 double zoom = m_pDoc->GetTheme ()->GetZoomFactor (); in GetVisibleArea()
H A Dreaction-operator.cc63 x *= theme->GetZoomFactor (); in AddItem()
64 y *= theme->GetZoomFactor (); in AddItem()
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/plugins/paint/selection/
H A Dgroup.cc151 x = rect.y0 / pTheme->GetZoomFactor (); in Align()
156 x = (rect.y0 + rect.y1) / 2. / pTheme->GetZoomFactor (); in Align()
160 x = rect.y1 / pTheme->GetZoomFactor (); in Align()
165 x = rect.x0 / pTheme->GetZoomFactor (); in Align()
170 x = (rect.x0 + rect.x1) / 2. / pTheme->GetZoomFactor (); in Align()
174 x = rect.x1 / pTheme->GetZoomFactor (); in Align()
239 x /= pTheme->GetZoomFactor (); in Space()
245 obj->Move (x - rect.x0 / pTheme->GetZoomFactor (), 0); in Space()
246 x += (rect.x1 - rect.x0) / pTheme->GetZoomFactor (); in Space()
248 obj->Move (0, x - rect.y0 / pTheme->GetZoomFactor ()); in Space()
[all …]
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/plugins/paint/residues/
H A Dpseudo-atom.cc73 x *= pTheme->GetZoomFactor (); in AddItem()
74 y *= pTheme->GetZoomFactor (); in AddItem()
115 x *= pTheme->GetZoomFactor (); in UpdateItem()
116 y *= pTheme->GetZoomFactor (); in UpdateItem()
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/plugins/paint/arrows/
H A Dretrosynthesis.cc156 od.y = (*i)->GetYAlign () * pTheme->GetZoomFactor (); in Build()
179 x0 *= pTheme->GetZoomFactor (); in Build()
180 y0 *= pTheme->GetZoomFactor (); in Build()
184 l *= pTheme->GetZoomFactor (); // half length of the arrow on the screen in Build()
345 x1 += x0 = (dx + sd.x) / pTheme->GetZoomFactor () - x0; in AlignStep()
346 y1 += y0 = (dy + sd.y) / pTheme->GetZoomFactor () - y0; in AlignStep()
363 dx = x1 * pTheme->GetZoomFactor () - (sd1.x - dx); in AlignStep()
364 dy = y1 * pTheme->GetZoomFactor () - (sd1.y - dy); in AlignStep()
365 (*i).first->Move (dx / pTheme->GetZoomFactor (), dy / pTheme->GetZoomFactor ()); in AlignStep()
392 sd.y = pObj->GetYAlign () * pTheme->GetZoomFactor (); in Align()
H A Darrowtool.cc78 m_x1 = m_x0 + pDoc->GetArrowLength () * pTheme->GetZoomFactor (); in OnClicked()
197 …HIFT_MASK)? sqrt (square (m_x) + square (m_y)): pDoc->GetArrowLength () * pTheme->GetZoomFactor (); in OnDrag()
375 …double width = (Theme->GetArrowLength () * Theme->GetZoomFactor () + 2 * Theme->GetArrowPadding ()… in GetPropertyPage()
379 (width - Theme->GetArrowLength () * Theme->GetZoomFactor ()) / 2., in GetPropertyPage()
381 (width + Theme->GetArrowLength () * Theme->GetZoomFactor ()) / 2., in GetPropertyPage()
390 (width + Theme->GetArrowLength () * Theme->GetZoomFactor ()) / 2., in GetPropertyPage()
392 (width - Theme->GetArrowLength () * Theme->GetZoomFactor ()) / 2., in GetPropertyPage()
404 (width - Theme->GetArrowLength () * Theme->GetZoomFactor ()) / 2., in GetPropertyPage()
406 (width + Theme->GetArrowLength () * Theme->GetZoomFactor ()) / 2., in GetPropertyPage()
414 (width + Theme->GetArrowLength () * Theme->GetZoomFactor ()) / 2., in GetPropertyPage()
[all …]
H A Dretrosynthesisarrow.cc105 x0 = m_x * theme->GetZoomFactor (); in AddItem()
106 y0 = m_y * theme->GetZoomFactor (); in AddItem()
107 x1 = (m_x + m_width) * theme->GetZoomFactor (); in AddItem()
108 y1 = (m_y + m_height) * theme->GetZoomFactor (); in AddItem()
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/plugins/paint/atoms/
H A Dorbitaltool.cc278 …w gccv::Circle (m_Preview, x, y, theme->GetBondLength () * m_Coef * theme->GetZoomFactor () / 2.); in UpdatePreview()
287 …*leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
293 leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
304 …*leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
310 leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
316 leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
322 leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
334 …*leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
340 leaf = new gccv::Leaf (group, 0., 0., theme->GetBondLength () * m_Coef * theme->GetZoomFactor ()); in UpdatePreview()
346 …roup, 0., 0., theme->GetBondLength () * m_Coef * GCP_ORBITAL_DZ2_FACTOR * theme->GetZoomFactor ()); in UpdatePreview()
[all …]
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/samples/event/
H A Dgestures.cpp130 event.GetPosition().x, event.GetPosition().y, event.GetZoomFactor()); in OnZoom()
137 …m_affineMatrix.Scale(event.GetZoomFactor() / m_lastZoomFactor, event.GetZoomFactor() / m_lastZoomF… in OnZoom()
146 m_lastZoomFactor = event.GetZoomFactor(); in OnZoom()
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/plugins/paint/text/
H A Dmathtool.cc46 …gcpEquation *eq = new gcpEquation (m_x0 / theme->GetZoomFactor (), m_y0 / theme->GetZoomFactor ()); in OnClicked()
/dports/graphics/lazpaint/lazpaint-7.1.6/lazpaint/
H A Dulayerstack.pas26 function GetZoomFactor: single; in GetZoomFactor() function
40 property ZoomFactor: single read GetZoomFactor write SetZoomFactor;
66 function TFLayerStack.GetZoomFactor: single; in TFLayerStack.GetZoomFactor() function
/dports/devel/upp/upp/bazaar/PixRasterCtrl/
H A DPixRasterCtrl.cpp134 int PixRasterCtrl::GetZoomFactor(void) in GetZoomFactor() function in PixRasterCtrl
136 return view->GetZoomFactor(); in GetZoomFactor()
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/goffice/
H A Dgogcpapp.cc159 doc->Move (- rect.x0 / pTheme->GetZoomFactor (), - rect.y0 / pTheme->GetZoomFactor ()); in UpdateBounds()
163 y *= pTheme->GetZoomFactor (); in UpdateBounds()
/dports/devel/upp/upp/bazaar/RasterCtrl/
H A DRasterCtrl.cpp174 int RasterCtrl::GetZoomFactor(void) in GetZoomFactor() function in RasterCtrl
176 return view->GetZoomFactor(); in GetZoomFactor()
/dports/math/wxmaxima/wxmaxima-Version-20.04.0/src/
H A DImgCell.cpp152 m_image->Recalculate(configuration->GetZoomFactor() * PRINT_SIZE_MULTIPLIER); in RecalculateWidths()
166 m_image->Recalculate(configuration->GetZoomFactor() * PRINT_SIZE_MULTIPLIER); in RecalculateHeight()
182 m_image->Recalculate(configuration->GetZoomFactor() * PRINT_SIZE_MULTIPLIER); in Draw()
201 …p = (configuration->GetPrinting() ? m_image->GetBitmap(configuration->GetZoomFactor() * PRINT_SIZE… in Draw()

123456