MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / makeObjectTransform

Method makeObjectTransform

src/templates/template.cpp:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159};
160
161std::function<void (Object*)> TemplateTransform::makeObjectTransform() const
162{
163 if (qFuzzyIsNull(template_shear))
164 return NonShearingObjectTransform{*this};
165
166 return ShearingObjectTransform{*this,
167 {template_scale_x, template_shear,
168 template_shear, template_scale_y,
169 0, 0}};
170}
171
172
173void TemplateTransform::save(QXmlStreamWriter& xml, const QString& role) const

Callers 3

transformMapFunction · 0.80
importOgrFileMethod · 0.80
importClickedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected