#include <tweak-view.hh>
◆ Ptr
◆ TweakSelection()
| Scroom::Utils::TweakSelection::TweakSelection |
( |
const Point< double > & |
aspectRatio_ | ) |
|
|
explicitprotected |
134 {
135 }
Point< double > aspectRatio
Definition tweak-view.hh:117
◆ tweakSelection() [1/2]
| virtual Rectangle< double > Scroom::Utils::TweakSelection::tweakSelection |
( |
const Rectangle< double > & |
selection | ) |
const |
|
pure virtual |
◆ tweakSelection() [2/2]
| Selection Scroom::Utils::TweakSelection::tweakSelection |
( |
const Selection & |
selection | ) |
const |
|
overridevirtual |
Implements Scroom::Utils::ITweakSelection.
138 {
141
144
147
149 }
virtual Rectangle< double > tweakSelection(const Rectangle< double > &selection) const =0
Corner find_closest_corner(const Point< double > &p, const Rectangle< double > &r)
Definition tweak-view.cc:63
Rectangle< double > toRectangle(const Selection &s)
Definition tweak-view.cc:91
Corner find_opposed_corner(Corner c)
Definition tweak-view.cc:75
std::function< Point< double >(const Rectangle< double > &)> corner_getter(Corner c)
Definition tweak-view.cc:47
auto selection
Definition pipette-tests.cc:157
const SampleIterator< const uint8_t > start(nullptr, initial_offset, bps)
◆ aspectRatio
| Point<double> Scroom::Utils::TweakSelection::aspectRatio |
|
protected |
The documentation for this class was generated from the following files: