NAME

Qt::Gui::QPolygon

PUBLIC METHODS

QPolygon()
QPolygon(int size)
QPolygon(const QPolygon & a)
QPolygon(const QRect & r, bool closed)
QPolygon(const QRect & r, bool closed = false)
QPolygon(int nPoints, const int * points)
~QPolygon()
QRect boundingRect()
bool containsPoint(const QPoint & pt, Qt::FillRule fillRule)
QPolygon intersected(const QPolygon & r)
QVariant operator QVariant()
QPoint point(int i)
void point(int i, int * x, int * y)
void putPoints(int index, int nPoints, const int * points)
void putPoints(int index, int nPoints, const QPolygon & from, int fromIndex)
void putPoints(int index, int nPoints, const QPolygon & from, int fromIndex = 0)
void setPoint(int index, const QPoint & p)
void setPoint(int index, int x, int y)
void setPoints(int nPoints, const int * points)
QPolygon subtracted(const QPolygon & r)
void translate(const QPoint & offset)
void translate(int dx, int dy)
QPolygon translated(const QPoint & offset)
QPolygon translated(int dx, int dy)
QPolygon united(const QPolygon & r)
void append(const QPoint & t)
const QPoint & at(int i)
int capacity()
void clear()
const QPoint * constData()
bool contains(const QPoint & t)
int count(const QPoint & t)
const QPoint * data()
void detach()
int indexOf(const QPoint & t, int from)
int indexOf(const QPoint & t, int from = 0)
void insert(int i, const QPoint & t)
void insert(int i, int n, const QPoint & t)
bool isDetached()
bool isEmpty()
int lastIndexOf(const QPoint & t, int from)
int lastIndexOf(const QPoint & t, int from = -1)
const QPoint & operator[](int i)
void prepend(const QPoint & t)
void remove(int i)
void remove(int i, int n)
void replace(int i, const QPoint & t)
void reserve(int size)
void resize(int size)
void setSharable(bool shrable)
int size()
void squeeze()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html