Krita Source Code Documentation
Loading...
Searching...
No Matches
KoFlake.h File Reference
#include "kritaflake_export.h"
#include <Qt>

Go to the source code of this file.

Namespaces

namespace  KoFlake
 

Enumerations

enum  KoFlake::AnchorPosition {
  KoFlake::TopLeft , KoFlake::Top , KoFlake::TopRight , KoFlake::Left ,
  KoFlake::Center , KoFlake::Right , KoFlake::BottomLeft , KoFlake::Bottom ,
  KoFlake::BottomRight , KoFlake::NoAnchor , KoFlake::NumAnchorPositions
}
 
enum  KoFlake::CanvasResource { KoFlake::HotPosition = 1410100299 }
 
enum  KoFlake::FillType {
  KoFlake::None , KoFlake::Solid , KoFlake::Gradient , KoFlake::Pattern ,
  KoFlake::MeshGradient
}
 
enum  KoFlake::FillVariant { KoFlake::Fill , KoFlake::StrokeFill }
 
enum  KoFlake::MarkerPosition { KoFlake::StartMarker , KoFlake::MidMarker , KoFlake::EndMarker }
 
enum  KoFlake::SelectionHandle {
  KoFlake::TopMiddleHandle , KoFlake::TopRightHandle , KoFlake::RightMiddleHandle , KoFlake::BottomRightHandle ,
  KoFlake::BottomMiddleHandle , KoFlake::BottomLeftHandle , KoFlake::LeftMiddleHandle , KoFlake::TopLeftHandle ,
  KoFlake::NoHandle
}
 Enum determining which handle is meant, used in KoInteractionTool. More...
 
enum  KoFlake::SelectionType { KoFlake::FullSelection , KoFlake::StrippedSelection , KoFlake::TopLevelSelection }
 the selection type for KoSelection::selectedObjects() More...
 
enum  KoFlake::ShapeSelection { KoFlake::Selected , KoFlake::Unselected , KoFlake::NextUnselected , KoFlake::ShapeOnTop }
 
enum  KoFlake::StyleType { KoFlake::Background , KoFlake::Foreground }
 

Functions

KRITAFLAKE_EXPORT QPointF KoFlake::anchorToPoint (AnchorPosition anchor, const QRectF rect, bool *valid=0)
 
KRITAFLAKE_EXPORT QGradient * KoFlake::cloneGradient (const QGradient *gradient)
 clones the given gradient
 
KRITAFLAKE_EXPORT QGradient * KoFlake::mergeGradient (const QGradient *coordsSource, const QGradient *fillSource)
 
KRITAFLAKE_EXPORT void KoFlake::resizeShape (KoShape *shape, qreal scaleX, qreal scaleY, const QPointF &absoluteStillPoint, bool useGlobalMode)
 
KRITAFLAKE_EXPORT void KoFlake::resizeShapeCommon (KoShape *shape, qreal scaleX, qreal scaleY, const QPointF &absoluteStillPoint, bool useGlobalMode, bool usePostScaling, const QTransform &postScalingCoveringTransform)
 
KRITAFLAKE_EXPORT void KoFlake::scaleShape (KoShape *shape, qreal scaleX, qreal scaleY, const QPointF &absoluteStillPoint, const QTransform &postScalingCoveringTransform)
 
KRITAFLAKE_EXPORT void KoFlake::scaleShapeGlobal (KoShape *shape, qreal scaleX, qreal scaleY, const QPointF &absoluteStillPoint)
 
KRITAFLAKE_EXPORT Qt::Orientation KoFlake::significantScaleOrientation (qreal scaleX, qreal scaleY)
 
KRITAFLAKE_EXPORT QPointF KoFlake::toAbsolute (const QPointF &relative, const QSizeF &size)
 
KRITAFLAKE_EXPORT QPointF KoFlake::toRelative (const QPointF &absolute, const QSizeF &size)