Seamly2D
Code documentation
vgrainlineitem.cpp File Reference
#include <math.h>
#include <QApplication>
#include <QPainter>
#include <QGraphicsSceneMouseEvent>
#include <QStyleOptionGraphicsItem>
#include <QDebug>
#include <QGraphicsScene>
#include <QGraphicsView>
#include "../vmisc/def.h"
#include "../vmisc/vmath.h"
#include "../vmisc/vcommonsettings.h"
#include "../vmisc/vabstractapplication.h"
#include "vgrainlineitem.h"
Include dependency graph for vgrainlineitem.cpp:

Go to the source code of this file.

Macros

#define ARROW_ANGLE   M_PI/9
 
#define ARROW_LENGTH   15
 
#define RECT_WIDTH   30
 
#define RESIZE_RECT_SIZE   10
 
#define ROTATE_CIRC_R   7
 
#define ACTIVE_Z   10
 
#define LINE_PEN_WIDTH   3
 

Macro Definition Documentation

◆ ACTIVE_Z

#define ACTIVE_Z   10

Definition at line 51 of file vgrainlineitem.cpp.

◆ ARROW_ANGLE

#define ARROW_ANGLE   M_PI/9

Definition at line 46 of file vgrainlineitem.cpp.

◆ ARROW_LENGTH

#define ARROW_LENGTH   15

Definition at line 47 of file vgrainlineitem.cpp.

◆ LINE_PEN_WIDTH

#define LINE_PEN_WIDTH   3

Definition at line 52 of file vgrainlineitem.cpp.

◆ RECT_WIDTH

#define RECT_WIDTH   30

Definition at line 48 of file vgrainlineitem.cpp.

◆ RESIZE_RECT_SIZE

#define RESIZE_RECT_SIZE   10

Definition at line 49 of file vgrainlineitem.cpp.

◆ ROTATE_CIRC_R

#define ROTATE_CIRC_R   7

Definition at line 50 of file vgrainlineitem.cpp.