Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgMoveTextCommand.cpp File Reference
#include "SvgMoveTextCommand.h"
#include <klocalizedstring.h>
#include "KoSvgTextShape.h"
#include "kis_command_ids.h"
#include <KoShapeBulkActionLock.h>

Go to the source code of this file.

Functions

static void moveShape (KoSvgTextShape *shape, const QPointF &position)
 

Function Documentation

◆ moveShape()

static void moveShape ( KoSvgTextShape * shape,
const QPointF & position )
static

Definition at line 27 of file SvgMoveTextCommand.cpp.

28{
29 KoShapeBulkActionLock lock(shape);
30 shape->setAbsolutePosition(position);
32}
static void bulkShapesUpdate(const UpdatesList &updates)
void setAbsolutePosition(const QPointF &newPosition, KoFlake::AnchorPosition anchor=KoFlake::Center)
Definition KoShape.cpp:588

References KoShapeBulkActionLock::bulkShapesUpdate(), KoShape::setAbsolutePosition(), and KoShapeBulkActionLock::unlock().