Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
418 B
Raw Blame
#ifndef __KIS_CONVEX_HULL_H
#define __KIS_CONVEX_HULL_H

#include <QtGlobal>
#include <QPolygon>
#include "kis_types.h"

namespace KisConvexHull
{
    KRITAIMAGE_EXPORT QPolygon findConvexHull(const QVector<QPoint> &points);
    KRITAIMAGE_EXPORT QPolygon findConvexHull(KisPaintDeviceSP device);
    KRITAIMAGE_EXPORT QPolygon findConvexHullSelectionLike(KisPaintDeviceSP device);
}

#endif /* __KIS_CONVEX_HULL_H */