MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / resetTransformation

Method resetTransformation

src/app/document.cpp:261–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void Document::resetTransformation()
262{
263 if (m_mask)
264 m_transformation = Transformation(gfx::RectF(m_mask->bounds()));
265 else
266 m_transformation = Transformation();
267}
268
269//////////////////////////////////////////////////////////////////////
270// Copying

Callers 6

onJobMethod · 0.80
onExecuteMethod · 0.80
onExecuteMethod · 0.80
onJobMethod · 0.80
setMaskPositionMethod · 0.80
onLeaveStateMethod · 0.80

Calls 2

TransformationClass · 0.70
boundsMethod · 0.45

Tested by

no test coverage detected