4 * Copyright (C) 2015 Samsung Electronics Co., Ltd. All rights reserved.
7 * GiWoong Kim <giwoong.kim@samsung.com>
8 * Sangho Park <sangho1206.park@samsung.com>
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35 #include "layout/displaytype.h"
46 SkinPainter(const QString &patchPath, QSize centerPatch, int degree,
47 QPoint tagLeftTop, QColor tagColor);
48 SkinPainter(QSize centerPatch, int degree, QList<Separator *> separators);
51 QImage getSkinImage() const;
52 QRect getCenteralRect();
55 void drawSkin(QString patchPath, QSize center, int degree,
56 QPoint tagLeftTop, QColor tagColor);
57 void drawSkin(QSize center, int degree, QList<Separator *> separators);
63 #endif // SKINPAINTER_H