libs/flake

KoPathTool.cpp File Reference

#include "KoPathTool.h"
#include "KoPathToolHandle.h"
#include "KoCanvasBase.h"
#include "KoShapeManager.h"
#include "KoCanvasResourceProvider.h"
#include "KoPointerEvent.h"
#include "commands/KoPathPointTypeCommand.h"
#include "commands/KoPathPointInsertCommand.h"
#include "commands/KoPathPointRemoveCommand.h"
#include "commands/KoPathSegmentTypeCommand.h"
#include "commands/KoPathBreakAtPointCommand.h"
#include "commands/KoPathSegmentBreakCommand.h"
#include "commands/KoParameterToPathCommand.h"
#include "commands/KoSubpathJoinCommand.h"
#include "commands/KoPathPointMergeCommand.h"
#include "KoParameterShape.h"
#include "KoPathPoint.h"
#include "KoPathPointRubberSelectStrategy.h"
#include "KoPathSegmentChangeStrategy.h"
#include "PathToolOptionWidget.h"
#include "KoConnectionShape.h"
#include "KoSnapGuide.h"
#include "SnapGuideConfigWidget.h"
#include <KAction>
#include <KIcon>
#include <KDebug>
#include <KLocale>
#include <QtGui/QPainter>
#include <QtGui/QBitmap>
#include <QtGui/QTabWidget>
#include "KoPathTool.moc"
Include dependency graph for KoPathTool.cpp:

Go to the source code of this file.

Functions

qreal squaredDistance (const QPointF p1, const QPointF &p2)

Variables

static unsigned char needle_bits []
static unsigned char needle_move_bits []

Function Documentation

qreal squaredDistance ( const QPointF  p1,
const QPointF p2 
)

Definition at line 68 of file KoPathTool.cpp.


Variable Documentation

unsigned char needle_bits[] [static]
Initial value:
 {
    0x00, 0x00, 0x10, 0x00, 0x20, 0x00, 0x60, 0x00, 0xc0, 0x00, 0xc0, 0x01,
    0x80, 0x03, 0x80, 0x07, 0x00, 0x0f, 0x00, 0x1f, 0x00, 0x3e, 0x00, 0x7e,
    0x00, 0x7c, 0x00, 0x1c, 0x00, 0x18, 0x00, 0x00
}

Definition at line 55 of file KoPathTool.cpp.

unsigned char needle_move_bits[] [static]
Initial value:
 {
    0x00, 0x00, 0x10, 0x00, 0x20, 0x00, 0x60, 0x00, 0xc0, 0x00, 0xc0, 0x01,
    0x80, 0x03, 0x80, 0x07, 0x10, 0x0f, 0x38, 0x1f, 0x54, 0x3e, 0xfe, 0x7e,
    0x54, 0x7c, 0x38, 0x1c, 0x10, 0x18, 0x00, 0x00
}

Definition at line 61 of file KoPathTool.cpp.