Add wxRegion ctor from array of points to wxMGL.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-11-10 19:58:43 +00:00
parent d036261c45
commit 320bf9ceec
4 changed files with 35 additions and 9 deletions

View File

@@ -1,3 +1,13 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: region.tex
%% Purpose: wxRegion documentation
%% Author: wxTeam
%% Created:
%% RCS-ID: $Id$
%% Copyright: (c) wxTeam
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxRegion}}\label{wxregion}
A wxRegion represents a simple or complex region on a device context or window. It uses
@@ -47,8 +57,6 @@ Constructs a region corresponding to the polygon made of {\it n} points in the
provided array. {\it fillStyle} parameter may have values
{\tt wxWINDING\_RULE} or {\tt wxODDEVEN\_RULE}.
{\bf NB:} This constructor is only implemented for Win32 and GTK+ wxWidgets ports.
\func{}{wxRegion}{\param{const wxBitmap\&}{ bmp}}
\func{}{wxRegion}{\param{const wxBitmap\&}{ bmp},
@@ -384,4 +392,3 @@ Increment operator. Increments the iterator to the next region.
Returns {\tt true} if there are still some rectangles; otherwise returns {\tt false}.
You can use this to test the iterator object as if it were of type bool.