Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
TransformationData Class Reference

#include <transformpresentation.hh>

Collaboration diagram for TransformationData:
Collaboration graph

Public Types

using Ptr = std::shared_ptr< TransformationData >
 

Public Member Functions

void setAspectRatio (double x, double y)
 
void setAspectRatio (Scroom::Utils::Point< double > aspectRatio_)
 
Scroom::Utils::Point< double > getAspectRatio () const
 

Static Public Member Functions

static Ptr create (Scroom::Utils::Point< double > aspectRatio_)
 
static Ptr create ()
 

Private Member Functions

 TransformationData ()
 
 TransformationData (Scroom::Utils::Point< double > aspectRatio_)
 

Private Attributes

Scroom::Utils::Point< double > aspectRatio
 

Member Typedef Documentation

◆ Ptr

using TransformationData::Ptr = std::shared_ptr<TransformationData>

Constructor & Destructor Documentation

◆ TransformationData() [1/2]

TransformationData::TransformationData ( )
private
20 : aspectRatio(1, 1)
21{
22}
Scroom::Utils::Point< double > aspectRatio
Definition transformpresentation.hh:23

Referenced by create(), and create().

Here is the caller graph for this function:

◆ TransformationData() [2/2]

TransformationData::TransformationData ( Scroom::Utils::Point< double >  aspectRatio_)
explicitprivate
25 : aspectRatio(aspectRatio_)
26{
27}

Member Function Documentation

◆ create() [1/2]

TransformationData::Ptr TransformationData::create ( )
static
29{ return Ptr(new TransformationData()); }
TransformationData()
Definition transformpresentation.cc:19
std::shared_ptr< TransformationData > Ptr
Definition transformpresentation.hh:26

Referenced by anonymous_namespace{tiledbitmappresentation.cc}::OpenTiledBitmapAsPresentation::open().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create() [2/2]

TransformationData::Ptr TransformationData::create ( Scroom::Utils::Point< double >  aspectRatio_)
static
32{
33 return Ptr(new TransformationData(aspectRatio_));
34}
Here is the call graph for this function:

◆ getAspectRatio()

Scroom::Utils::Point< double > TransformationData::getAspectRatio ( ) const
39{ return aspectRatio; }

◆ setAspectRatio() [1/2]

void TransformationData::setAspectRatio ( double  x,
double  y 
)
Point< T > make_point(T x, T y)
Definition point.hh:116
Here is the call graph for this function:

◆ setAspectRatio() [2/2]

void TransformationData::setAspectRatio ( Scroom::Utils::Point< double >  aspectRatio_)
37{ aspectRatio = aspectRatio_; }

Member Data Documentation

◆ aspectRatio

Scroom::Utils::Point<double> TransformationData::aspectRatio
private

The documentation for this class was generated from the following files: