pub struct QPolygon { /* private fields */ }Expand description
C++ class: QPolygon.
Implementations§
Source§impl QPolygon
impl QPolygon
Sourcepub unsafe fn bounding_rect(&self) -> CppBox<QRect>
pub unsafe fn bounding_rect(&self) -> CppBox<QRect>
Calls C++ function: QRect QPolygon::boundingRect() const.
Sourcepub unsafe fn contains_point(
&self,
pt: impl CastInto<Ref<QPoint>>,
fill_rule: FillRule,
) -> bool
pub unsafe fn contains_point( &self, pt: impl CastInto<Ref<QPoint>>, fill_rule: FillRule, ) -> bool
Calls C++ function: bool QPolygon::containsPoint(const QPoint& pt, Qt::FillRule fillRule) const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QPolygon>>,
) -> Ref<QPolygon>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QPolygon>>, ) -> Ref<QPolygon>
Calls C++ function: QPolygon& QPolygon::operator=(const QPolygon& other).
Sourcepub unsafe fn intersected(
&self,
r: impl CastInto<Ref<QPolygon>>,
) -> CppBox<QPolygon>
pub unsafe fn intersected( &self, r: impl CastInto<Ref<QPolygon>>, ) -> CppBox<QPolygon>
Calls C++ function: QPolygon QPolygon::intersected(const QPolygon& r) const.
Sourcepub unsafe fn intersects(&self, r: impl CastInto<Ref<QPolygon>>) -> bool
pub unsafe fn intersects(&self, r: impl CastInto<Ref<QPolygon>>) -> bool
Calls C++ function: bool QPolygon::intersects(const QPolygon& r) const.
Sourcepub unsafe fn new() -> CppBox<QPolygon>
pub unsafe fn new() -> CppBox<QPolygon>
Calls C++ function: [constructor] void QPolygon::QPolygon().
Sourcepub unsafe fn from_int(size: c_int) -> CppBox<QPolygon>
pub unsafe fn from_int(size: c_int) -> CppBox<QPolygon>
Calls C++ function: [constructor] void QPolygon::QPolygon(int size).
Sourcepub unsafe fn from_q_vector_of_q_point(
v: impl CastInto<Ref<QVectorOfQPoint>>,
) -> CppBox<QPolygon>
pub unsafe fn from_q_vector_of_q_point( v: impl CastInto<Ref<QVectorOfQPoint>>, ) -> CppBox<QPolygon>
Calls C++ function: [constructor] void QPolygon::QPolygon(const QVector<QPoint>& v).
Sourcepub unsafe fn from_q_rect_bool(
r: impl CastInto<Ref<QRect>>,
closed: bool,
) -> CppBox<QPolygon>
pub unsafe fn from_q_rect_bool( r: impl CastInto<Ref<QRect>>, closed: bool, ) -> CppBox<QPolygon>
Calls C++ function: [constructor] void QPolygon::QPolygon(const QRect& r, bool closed = …).
Sourcepub unsafe fn from_int_int(
n_points: c_int,
points: *const c_int,
) -> CppBox<QPolygon>
pub unsafe fn from_int_int( n_points: c_int, points: *const c_int, ) -> CppBox<QPolygon>
Calls C++ function: [constructor] void QPolygon::QPolygon(int nPoints, const int* points).
Sourcepub unsafe fn from_q_rect(r: impl CastInto<Ref<QRect>>) -> CppBox<QPolygon>
pub unsafe fn from_q_rect(r: impl CastInto<Ref<QRect>>) -> CppBox<QPolygon>
Calls C++ function: [constructor] void QPolygon::QPolygon(const QRect& r).
Sourcepub unsafe fn new_copy(other: impl CastInto<Ref<QPolygon>>) -> CppBox<QPolygon>
pub unsafe fn new_copy(other: impl CastInto<Ref<QPolygon>>) -> CppBox<QPolygon>
Calls C++ function: [constructor] void QPolygon::QPolygon(const QPolygon& other).
Sourcepub unsafe fn point_3a(&self, i: c_int, x: *mut c_int, y: *mut c_int)
pub unsafe fn point_3a(&self, i: c_int, x: *mut c_int, y: *mut c_int)
Calls C++ function: void QPolygon::point(int i, int* x, int* y) const.
Sourcepub unsafe fn point_1a(&self, i: c_int) -> CppBox<QPoint>
pub unsafe fn point_1a(&self, i: c_int) -> CppBox<QPoint>
Calls C++ function: QPoint QPolygon::point(int i) const.
Sourcepub unsafe fn put_points_2_int_int(
&self,
index: c_int,
n_points: c_int,
points: *const c_int,
)
pub unsafe fn put_points_2_int_int( &self, index: c_int, n_points: c_int, points: *const c_int, )
Calls C++ function: void QPolygon::putPoints(int index, int nPoints, const int* points).
Sourcepub unsafe fn put_points_2_int_q_polygon_int(
&self,
index: c_int,
n_points: c_int,
from: impl CastInto<Ref<QPolygon>>,
from_index: c_int,
)
pub unsafe fn put_points_2_int_q_polygon_int( &self, index: c_int, n_points: c_int, from: impl CastInto<Ref<QPolygon>>, from_index: c_int, )
Calls C++ function: void QPolygon::putPoints(int index, int nPoints, const QPolygon& from, int fromIndex = …).
Sourcepub unsafe fn put_points_2_int_q_polygon(
&self,
index: c_int,
n_points: c_int,
from: impl CastInto<Ref<QPolygon>>,
)
pub unsafe fn put_points_2_int_q_polygon( &self, index: c_int, n_points: c_int, from: impl CastInto<Ref<QPolygon>>, )
Calls C++ function: void QPolygon::putPoints(int index, int nPoints, const QPolygon& from).
Sourcepub unsafe fn set_point_3a(&self, index: c_int, x: c_int, y: c_int)
pub unsafe fn set_point_3a(&self, index: c_int, x: c_int, y: c_int)
Calls C++ function: void QPolygon::setPoint(int index, int x, int y).
Sourcepub unsafe fn set_point_2a(&self, index: c_int, p: impl CastInto<Ref<QPoint>>)
pub unsafe fn set_point_2a(&self, index: c_int, p: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QPolygon::setPoint(int index, const QPoint& p).
Sourcepub unsafe fn set_points(&self, n_points: c_int, points: *const c_int)
pub unsafe fn set_points(&self, n_points: c_int, points: *const c_int)
Calls C++ function: void QPolygon::setPoints(int nPoints, const int* points).
Sourcepub unsafe fn subtracted(
&self,
r: impl CastInto<Ref<QPolygon>>,
) -> CppBox<QPolygon>
pub unsafe fn subtracted( &self, r: impl CastInto<Ref<QPolygon>>, ) -> CppBox<QPolygon>
Calls C++ function: QPolygon QPolygon::subtracted(const QPolygon& r) const.
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QPolygon>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QPolygon>>)
Calls C++ function: void QPolygon::swap(QPolygon& other).
Sourcepub unsafe fn to_q_variant(&self) -> CppBox<QVariant>
pub unsafe fn to_q_variant(&self) -> CppBox<QVariant>
Calls C++ function: QVariant QPolygon::operator QVariant() const.
Sourcepub unsafe fn translate_2a(&self, dx: c_int, dy: c_int)
pub unsafe fn translate_2a(&self, dx: c_int, dy: c_int)
Calls C++ function: void QPolygon::translate(int dx, int dy).
Sourcepub unsafe fn translate_1a(&self, offset: impl CastInto<Ref<QPoint>>)
pub unsafe fn translate_1a(&self, offset: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QPolygon::translate(const QPoint& offset).
Sourcepub unsafe fn translated_2a(&self, dx: c_int, dy: c_int) -> CppBox<QPolygon>
pub unsafe fn translated_2a(&self, dx: c_int, dy: c_int) -> CppBox<QPolygon>
Calls C++ function: QPolygon QPolygon::translated(int dx, int dy) const.
Methods from Deref<Target = QVectorOfQPoint>§
Sourcepub unsafe fn add_assign_q_vector_of_q_point(
&self,
l: impl CastInto<Ref<QVectorOfQPoint>>,
) -> Ref<QVectorOfQPoint>
pub unsafe fn add_assign_q_vector_of_q_point( &self, l: impl CastInto<Ref<QVectorOfQPoint>>, ) -> Ref<QVectorOfQPoint>
Calls C++ function: QVector<QPoint>& QVector<QPoint>::operator+=(const QVector<QPoint>& l).
Sourcepub unsafe fn add_assign_q_point(
&self,
t: impl CastInto<Ref<QPoint>>,
) -> Ref<QVectorOfQPoint>
pub unsafe fn add_assign_q_point( &self, t: impl CastInto<Ref<QPoint>>, ) -> Ref<QVectorOfQPoint>
Calls C++ function: QVector<QPoint>& QVector<QPoint>::operator+=(const QPoint& t).
Sourcepub unsafe fn append_q_point(&self, t: impl CastInto<Ref<QPoint>>)
pub unsafe fn append_q_point(&self, t: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QVector<QPoint>::append(const QPoint& t).
Sourcepub unsafe fn append_q_vector_of_q_point(
&self,
l: impl CastInto<Ref<QVectorOfQPoint>>,
)
pub unsafe fn append_q_vector_of_q_point( &self, l: impl CastInto<Ref<QVectorOfQPoint>>, )
Calls C++ function: void QVector<QPoint>::append(const QVector<QPoint>& l).
Sourcepub unsafe fn at(&self, i: c_int) -> Ref<QPoint>
pub unsafe fn at(&self, i: c_int) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::at(int i) const.
Sourcepub unsafe fn back_mut(&self) -> Ref<QPoint>
pub unsafe fn back_mut(&self) -> Ref<QPoint>
Calls C++ function: QPoint& QVector<QPoint>::back().
Sourcepub unsafe fn back(&self) -> Ref<QPoint>
pub unsafe fn back(&self) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::back() const.
Sourcepub unsafe fn capacity(&self) -> c_int
pub unsafe fn capacity(&self) -> c_int
Calls C++ function: int QVector<QPoint>::capacity() const.
Sourcepub unsafe fn const_data(&self) -> Ptr<QPoint>
pub unsafe fn const_data(&self) -> Ptr<QPoint>
Calls C++ function: const QPoint* QVector<QPoint>::constData() const.
Sourcepub unsafe fn const_first(&self) -> Ref<QPoint>
pub unsafe fn const_first(&self) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::constFirst() const.
Sourcepub unsafe fn const_last(&self) -> Ref<QPoint>
pub unsafe fn const_last(&self) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::constLast() const.
Sourcepub unsafe fn contains(&self, t: impl CastInto<Ref<QPoint>>) -> bool
pub unsafe fn contains(&self, t: impl CastInto<Ref<QPoint>>) -> bool
Calls C++ function: bool QVector<QPoint>::contains(const QPoint& t) const.
Sourcepub unsafe fn copy_from(
&self,
v: impl CastInto<Ref<QVectorOfQPoint>>,
) -> Ref<QVectorOfQPoint>
pub unsafe fn copy_from( &self, v: impl CastInto<Ref<QVectorOfQPoint>>, ) -> Ref<QVectorOfQPoint>
Calls C++ function: QVector<QPoint>& QVector<QPoint>::operator=(const QVector<QPoint>& v).
Sourcepub unsafe fn count_1a(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
pub unsafe fn count_1a(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
Calls C++ function: int QVector<QPoint>::count(const QPoint& t) const.
Sourcepub unsafe fn data_mut(&self) -> Ptr<QPoint>
pub unsafe fn data_mut(&self) -> Ptr<QPoint>
Calls C++ function: QPoint* QVector<QPoint>::data().
Sourcepub unsafe fn data(&self) -> Ptr<QPoint>
pub unsafe fn data(&self) -> Ptr<QPoint>
Calls C++ function: const QPoint* QVector<QPoint>::data() const.
Sourcepub unsafe fn ends_with(&self, t: impl CastInto<Ref<QPoint>>) -> bool
pub unsafe fn ends_with(&self, t: impl CastInto<Ref<QPoint>>) -> bool
Calls C++ function: bool QVector<QPoint>::endsWith(const QPoint& t) const.
Sourcepub unsafe fn fill_2a(
&self,
t: impl CastInto<Ref<QPoint>>,
size: c_int,
) -> Ref<QVectorOfQPoint>
pub unsafe fn fill_2a( &self, t: impl CastInto<Ref<QPoint>>, size: c_int, ) -> Ref<QVectorOfQPoint>
Calls C++ function: QVector<QPoint>& QVector<QPoint>::fill(const QPoint& t, int size = …).
Sourcepub unsafe fn fill_1a(
&self,
t: impl CastInto<Ref<QPoint>>,
) -> Ref<QVectorOfQPoint>
pub unsafe fn fill_1a( &self, t: impl CastInto<Ref<QPoint>>, ) -> Ref<QVectorOfQPoint>
Calls C++ function: QVector<QPoint>& QVector<QPoint>::fill(const QPoint& t).
Sourcepub unsafe fn first_mut(&self) -> Ref<QPoint>
pub unsafe fn first_mut(&self) -> Ref<QPoint>
Calls C++ function: QPoint& QVector<QPoint>::first().
Sourcepub unsafe fn first(&self) -> Ref<QPoint>
pub unsafe fn first(&self) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::first() const.
Sourcepub unsafe fn front_mut(&self) -> Ref<QPoint>
pub unsafe fn front_mut(&self) -> Ref<QPoint>
Calls C++ function: QPoint& QVector<QPoint>::front().
Sourcepub unsafe fn front(&self) -> Ref<QPoint>
pub unsafe fn front(&self) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::front() const.
Sourcepub unsafe fn index_mut(&self, i: c_int) -> Ref<QPoint>
pub unsafe fn index_mut(&self, i: c_int) -> Ref<QPoint>
Calls C++ function: QPoint& QVector<QPoint>::operator[](int i).
Sourcepub unsafe fn index(&self, i: c_int) -> Ref<QPoint>
pub unsafe fn index(&self, i: c_int) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::operator[](int i) const.
Sourcepub unsafe fn index_of_2a(
&self,
t: impl CastInto<Ref<QPoint>>,
from: c_int,
) -> c_int
pub unsafe fn index_of_2a( &self, t: impl CastInto<Ref<QPoint>>, from: c_int, ) -> c_int
Calls C++ function: int QVector<QPoint>::indexOf(const QPoint& t, int from = …) const.
Sourcepub unsafe fn index_of_1a(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
pub unsafe fn index_of_1a(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
Calls C++ function: int QVector<QPoint>::indexOf(const QPoint& t) const.
Sourcepub unsafe fn insert_2a(&self, i: c_int, t: impl CastInto<Ref<QPoint>>)
pub unsafe fn insert_2a(&self, i: c_int, t: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QVector<QPoint>::insert(int i, const QPoint& t).
Sourcepub unsafe fn insert_3a(
&self,
i: c_int,
n: c_int,
t: impl CastInto<Ref<QPoint>>,
)
pub unsafe fn insert_3a( &self, i: c_int, n: c_int, t: impl CastInto<Ref<QPoint>>, )
Calls C++ function: void QVector<QPoint>::insert(int i, int n, const QPoint& t).
Sourcepub unsafe fn is_detached(&self) -> bool
pub unsafe fn is_detached(&self) -> bool
Calls C++ function: bool QVector<QPoint>::isDetached() const.
Sourcepub unsafe fn is_empty(&self) -> bool
pub unsafe fn is_empty(&self) -> bool
Calls C++ function: bool QVector<QPoint>::isEmpty() const.
Calls C++ function: bool QVector<QPoint>::isSharedWith(const QVector<QPoint>& other) const.
Sourcepub unsafe fn last_mut(&self) -> Ref<QPoint>
pub unsafe fn last_mut(&self) -> Ref<QPoint>
Calls C++ function: QPoint& QVector<QPoint>::last().
Sourcepub unsafe fn last(&self) -> Ref<QPoint>
pub unsafe fn last(&self) -> Ref<QPoint>
Calls C++ function: const QPoint& QVector<QPoint>::last() const.
Sourcepub unsafe fn last_index_of_2a(
&self,
t: impl CastInto<Ref<QPoint>>,
from: c_int,
) -> c_int
pub unsafe fn last_index_of_2a( &self, t: impl CastInto<Ref<QPoint>>, from: c_int, ) -> c_int
Calls C++ function: int QVector<QPoint>::lastIndexOf(const QPoint& t, int from = …) const.
Sourcepub unsafe fn last_index_of_1a(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
pub unsafe fn last_index_of_1a(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
Calls C++ function: int QVector<QPoint>::lastIndexOf(const QPoint& t) const.
Sourcepub unsafe fn mid_2a(&self, pos: c_int, len: c_int) -> CppBox<QVectorOfQPoint>
pub unsafe fn mid_2a(&self, pos: c_int, len: c_int) -> CppBox<QVectorOfQPoint>
Calls C++ function: QVector<QPoint> QVector<QPoint>::mid(int pos, int len = …) const.
Sourcepub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfQPoint>
pub unsafe fn mid_1a(&self, pos: c_int) -> CppBox<QVectorOfQPoint>
Calls C++ function: QVector<QPoint> QVector<QPoint>::mid(int pos) const.
Sourcepub unsafe fn move_(&self, from: c_int, to: c_int)
pub unsafe fn move_(&self, from: c_int, to: c_int)
Calls C++ function: void QVector<QPoint>::move(int from, int to).
Sourcepub unsafe fn prepend(&self, t: impl CastInto<Ref<QPoint>>)
pub unsafe fn prepend(&self, t: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QVector<QPoint>::prepend(const QPoint& t).
Sourcepub unsafe fn push_back(&self, t: impl CastInto<Ref<QPoint>>)
pub unsafe fn push_back(&self, t: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QVector<QPoint>::push_back(const QPoint& t).
Sourcepub unsafe fn push_front(&self, t: impl CastInto<Ref<QPoint>>)
pub unsafe fn push_front(&self, t: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QVector<QPoint>::push_front(const QPoint& t).
Sourcepub unsafe fn remove_1a(&self, i: c_int)
pub unsafe fn remove_1a(&self, i: c_int)
Calls C++ function: void QVector<QPoint>::remove(int i).
Sourcepub unsafe fn remove_2a(&self, i: c_int, n: c_int)
pub unsafe fn remove_2a(&self, i: c_int, n: c_int)
Calls C++ function: void QVector<QPoint>::remove(int i, int n).
Sourcepub unsafe fn remove_all(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
pub unsafe fn remove_all(&self, t: impl CastInto<Ref<QPoint>>) -> c_int
Calls C++ function: int QVector<QPoint>::removeAll(const QPoint& t).
Sourcepub unsafe fn remove_at(&self, i: c_int)
pub unsafe fn remove_at(&self, i: c_int)
Calls C++ function: void QVector<QPoint>::removeAt(int i).
Sourcepub unsafe fn remove_first(&self)
pub unsafe fn remove_first(&self)
Calls C++ function: void QVector<QPoint>::removeFirst().
Sourcepub unsafe fn remove_last(&self)
pub unsafe fn remove_last(&self)
Calls C++ function: void QVector<QPoint>::removeLast().
Sourcepub unsafe fn remove_one(&self, t: impl CastInto<Ref<QPoint>>) -> bool
pub unsafe fn remove_one(&self, t: impl CastInto<Ref<QPoint>>) -> bool
Calls C++ function: bool QVector<QPoint>::removeOne(const QPoint& t).
Sourcepub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QPoint>>)
pub unsafe fn replace(&self, i: c_int, t: impl CastInto<Ref<QPoint>>)
Calls C++ function: void QVector<QPoint>::replace(int i, const QPoint& t).
Sourcepub unsafe fn reserve(&self, size: c_int)
pub unsafe fn reserve(&self, size: c_int)
Calls C++ function: void QVector<QPoint>::reserve(int size).
Sourcepub unsafe fn resize(&self, size: c_int)
pub unsafe fn resize(&self, size: c_int)
Calls C++ function: void QVector<QPoint>::resize(int size).
Sourcepub unsafe fn set_sharable(&self, sharable: bool)
pub unsafe fn set_sharable(&self, sharable: bool)
Calls C++ function: void QVector<QPoint>::setSharable(bool sharable).
Sourcepub unsafe fn shrink_to_fit(&self)
pub unsafe fn shrink_to_fit(&self)
Calls C++ function: void QVector<QPoint>::shrink_to_fit().
Sourcepub unsafe fn starts_with(&self, t: impl CastInto<Ref<QPoint>>) -> bool
pub unsafe fn starts_with(&self, t: impl CastInto<Ref<QPoint>>) -> bool
Calls C++ function: bool QVector<QPoint>::startsWith(const QPoint& t) const.
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfQPoint>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QVectorOfQPoint>>)
Calls C++ function: void QVector<QPoint>::swap(QVector<QPoint>& other).
Sourcepub unsafe fn swap_items_at(&self, i: c_int, j: c_int)
pub unsafe fn swap_items_at(&self, i: c_int, j: c_int)
Calls C++ function: void QVector<QPoint>::swapItemsAt(int i, int j).
Sourcepub unsafe fn take_at(&self, i: c_int) -> CppBox<QPoint>
pub unsafe fn take_at(&self, i: c_int) -> CppBox<QPoint>
Calls C++ function: QPoint QVector<QPoint>::takeAt(int i).
Sourcepub unsafe fn take_first(&self) -> CppBox<QPoint>
pub unsafe fn take_first(&self) -> CppBox<QPoint>
Calls C++ function: QPoint QVector<QPoint>::takeFirst().
Sourcepub unsafe fn take_last(&self) -> CppBox<QPoint>
pub unsafe fn take_last(&self) -> CppBox<QPoint>
Calls C++ function: QPoint QVector<QPoint>::takeLast().
Trait Implementations§
Source§impl CppDeletable for QPolygon
impl CppDeletable for QPolygon
Source§impl Deref for QPolygon
impl Deref for QPolygon
Source§fn deref(&self) -> &QVectorOfQPoint
fn deref(&self) -> &QVectorOfQPoint
Calls C++ function: QVector<QPoint>* static_cast<QVector<QPoint>*>(QPolygon* ptr).
Source§type Target = QVectorOfQPoint
type Target = QVectorOfQPoint
Source§impl StaticDowncast<QPolygon> for QVectorOfQPoint
impl StaticDowncast<QPolygon> for QVectorOfQPoint
Source§unsafe fn static_downcast(ptr: Ptr<QVectorOfQPoint>) -> Ptr<QPolygon>
unsafe fn static_downcast(ptr: Ptr<QVectorOfQPoint>) -> Ptr<QPolygon>
Calls C++ function: QPolygon* static_cast<QPolygon*>(QVector<QPoint>* ptr).
Source§impl StaticUpcast<QVectorOfQPoint> for QPolygon
impl StaticUpcast<QVectorOfQPoint> for QPolygon
Source§unsafe fn static_upcast(ptr: Ptr<QPolygon>) -> Ptr<QVectorOfQPoint>
unsafe fn static_upcast(ptr: Ptr<QPolygon>) -> Ptr<QVectorOfQPoint>
Calls C++ function: QVector<QPoint>* static_cast<QVector<QPoint>*>(QPolygon* ptr).