Walls And Holes
1
linebrushtool.h
Go to the documentation of this file.
1
#ifndef LINEBRUSHTOOL_H
2
#define LINEBRUSHTOOL_H
3
4
5
#include "
abstractshapebrushtool.h
"
6
7
class
LineBrushTool
:
public
AbstractShapeBrushTool
8
{
9
public
:
10
LineBrushTool
(
TileMapPreviewGraphicsItem
*previewItem, QUndoStack *undoStack);
11
18
QRegion
getShape
(QPoint start, QPoint end)
const override
;
19
};
20
21
#endif // LINEBRUSHTOOL_H
LineBrushTool::getShape
QRegion getShape(QPoint start, QPoint end) const override
Makes a 1-pixel line by intersecting a line with a grid.
Definition:
linebrushtool.cpp:8
abstractshapebrushtool.h
LineBrushTool::LineBrushTool
LineBrushTool(TileMapPreviewGraphicsItem *previewItem, QUndoStack *undoStack)
Definition:
linebrushtool.cpp:5
AbstractShapeBrushTool
Definition:
abstractshapebrushtool.h:15
LineBrushTool
Definition:
linebrushtool.h:7
TileMapPreviewGraphicsItem
Definition:
tilemappreviewgraphicsitem.h:9
WallsAndHoles
linebrushtool.h
Generated by
1.8.14