|
Krita Source Code Documentation
|
#include <kis_transform_utils.h>
Public Member Functions | |
| AnchorHolder (bool enabled, ToolTransformArgs *config) | |
| ~AnchorHolder () | |
Private Attributes | |
| ToolTransformArgs * | m_config |
| bool | m_enabled |
| QPointF | m_oldStaticPointInView |
| QPointF | m_staticPoint |
A special class that ensures that the view position of the anchor point of the transformation is unchanged during the lifetime of the object. On destruction of the keeper the position of the anchor point will be restored.
Definition at line 150 of file kis_transform_utils.h.
| KisTransformUtils::AnchorHolder::AnchorHolder | ( | bool | enabled, |
| ToolTransformArgs * | config ) |
Definition at line 453 of file kis_transform_utils.cpp.
References KisTransformUtils::MatricesPack::finalTransform(), m_config, m_enabled, m_oldStaticPointInView, m_staticPoint, ToolTransformArgs::originalCenter(), and ToolTransformArgs::rotationCenterOffset().
| KisTransformUtils::AnchorHolder::~AnchorHolder | ( | ) |
Definition at line 465 of file kis_transform_utils.cpp.
References KisTransformUtils::MatricesPack::finalTransform().
|
private |
Definition at line 156 of file kis_transform_utils.h.
|
private |
Definition at line 155 of file kis_transform_utils.h.
|
private |
Definition at line 158 of file kis_transform_utils.h.
|
private |
Definition at line 157 of file kis_transform_utils.h.