7#ifndef __KIS_CONSTRAINED_RECT_H
8#define __KIS_CONSTRAINED_RECT_H
float value(const T *src, size_t ch)
void setHeight(int value)
void setRatio(qreal value)
void storeRatioSafe(const QSize &newSize)
void moveHandle(HandleType handle, const QPoint &offset, const QRect &oldRect)
bool heightLocked() const
void sigLockValuesChanged()
int widthFromHeightUnsignedRatio(int height, qreal ratio, int oldWidth) const
void setRectInitial(const QRect &rect)
QPointF handleSnapPoint(HandleType handle, const QPointF &cursorPos)
void setCropRect(const QRect &cropRect)
void setCentered(bool value)
void setCanGrow(bool value)
int heightFromWidthUnsignedRatio(int width, qreal ratio, int oldHeight) const
void assignNewSize(const QSize &newSize)
~KisConstrainedRect() override
void setOffset(const QPoint &offset)
void setHeightLocked(bool value)
void setRatioLocked(bool value)
void setWidthLocked(bool value)