libs/flake

KoFlake Namespace Reference

Flake reference. More...

Enumerations

enum  Position {
  TopLeftCorner, TopRightCorner, BottomLeftCorner, BottomRightCorner,
  CenteredPosition
}
enum  SelectionHandle {
  TopMiddleHandle, TopRightHandle, RightMiddleHandle, BottomRightHandle,
  BottomMiddleHandle, BottomLeftHandle, LeftMiddleHandle, TopLeftHandle,
  NoHandle
}
enum  SelectionType { FullSelection, StrippedSelection, TopLevelSelection }
enum  ShapeSelection { Selected, Unselected, NextUnselected, ShapeOnTop }
enum  StyleType { Background, Foreground }

Functions

FLAKE_EXPORT QGradientcloneGradient (const QGradient *gradient)

Detailed Description

Flake reference.


Enumeration Type Documentation

position. See KoShape::absolutePosition()

Enumerator:
TopLeftCorner 

the top left corner

TopRightCorner 

the top right corner

BottomLeftCorner 

the bottom left corner

BottomRightCorner 

the bottom right corner

CenteredPosition 

the centred corner

Definition at line 67 of file KoFlake.h.

Enum determining which handle is meant, used in KoInteractionTool.

Enumerator:
TopMiddleHandle 

The handle that is at the top - center of a selection.

TopRightHandle 

The handle that is at the top - right of a selection.

RightMiddleHandle 

The handle that is at the right - center of a selection.

BottomRightHandle 

The handle that is at the bottom right of a selection.

BottomMiddleHandle 

The handle that is at the bottom center of a selection.

BottomLeftHandle 

The handle that is at the bottom left of a selection.

LeftMiddleHandle 

The handle that is at the left center of a selection.

TopLeftHandle 

The handle that is at the top left of a selection.

NoHandle 

Value to indicate no handle.

Definition at line 44 of file KoFlake.h.

the selection type for KoSelection::selectedObjects()

Enumerator:
FullSelection 

Create a list of all user-shapes in the selection. This excludes KoShapeGroup grouping objects that may be selected.

StrippedSelection 

Create a stripped list, without children if the container is also in the list.

TopLevelSelection 

Create a list, much like the StrippedSelection, but have the KoShapeGroup instead of all of its children if one is selected.

Definition at line 37 of file KoFlake.h.

Used to change the behavior of KoShapeManager::shapeAt().

Enumerator:
Selected 

return the first selected with the highest z-ordering (i.e. on top).

Unselected 

return the first unselected on top.

NextUnselected 

return the first unselected directly under a selected shape, or the top most one if nothing is selected.

ShapeOnTop 

return the shape highest z-ordering, regardless of selection.

Definition at line 59 of file KoFlake.h.

Used to see which style type is active.

Enumerator:
Background 

the background / fill style is active

Foreground 

the foreground / border style is active

Definition at line 78 of file KoFlake.h.


Function Documentation

QGradient * KoFlake::cloneGradient ( const QGradient gradient  ) 

clones the given gradient

Definition at line 29 of file KoFlake.cpp.