| 159 | }; |
| 160 | |
| 161 | std::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 | |
| 173 | void TemplateTransform::save(QXmlStreamWriter& xml, const QString& role) const |
no outgoing calls
no test coverage detected