Walls And Holes
1
rectbrushtool.h
Go to the documentation of this file.
1
#ifndef RECTBRUSHTOOL_H
2
#define RECTBRUSHTOOL_H
3
4
5
#include "
abstractshapebrushtool.h
"
6
7
class
RectBrushTool
:
public
AbstractShapeBrushTool
8
{
9
public
:
10
RectBrushTool
(
TileMapPreviewGraphicsItem
*previewItem, QUndoStack *undoStack);
11
13
QRegion
getShape
(QPoint start, QPoint end)
const override
;
14
};
15
16
#endif // RECTBRUSHTOOL_H
RectBrushTool::getShape
QRegion getShape(QPoint start, QPoint end) const override
Draws a rectangle.
Definition:
rectbrushtool.cpp:8
abstractshapebrushtool.h
AbstractShapeBrushTool
Definition:
abstractshapebrushtool.h:15
RectBrushTool
Definition:
rectbrushtool.h:7
TileMapPreviewGraphicsItem
Definition:
tilemappreviewgraphicsitem.h:9
RectBrushTool::RectBrushTool
RectBrushTool(TileMapPreviewGraphicsItem *previewItem, QUndoStack *undoStack)
Definition:
rectbrushtool.cpp:5
WallsAndHoles
rectbrushtool.h
Generated by
1.8.14