Dongxu Ma

NAME

Qt::Gui::QPolygon

PUBLIC METHODS

QPolygon()
QPolygon(int size)
QPolygon(const QPolygon & a)
QPolygon(const QVector<QPoint> & v)
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)
int capacity()
void clear()
const QPoint * constData()
bool contains(const QPoint & t)
int count(const QPoint & t)
const QPoint * data()
void detach()
QVector<QPoint> & fill(const QPoint & t, int size)
QVector<QPoint> & fill(const QPoint & t, int size = -1)
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()
bool isSharedWith(const QVector<QPoint> & other)
int lastIndexOf(const QPoint & t, int from)
int lastIndexOf(const QPoint & t, int from = -1)
bool operator!=(const QVector<QPoint> & v)
QVector<QPoint> & operator=(const QVector<QPoint> & v)
bool operator==(const QVector<QPoint> & v)
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