Wx::Polygon 0.06
Sponsored Links
Wx::Polygon 0.06 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
801
Date added:
2007-08-18
Publisher:
Hans Oesterholt-Dijkema
Wx::Polygon 0.06 description
Wx::Polygon can draw and manipulate polygons for wxPerl.
ABSTRACT
This module provides functions for manipulating polygons in wxPerl.
new( POLYGON = (Wx::Point,...) | ELLIPSE => (x_offset,y_offset,width,heigth) ) --> Wx::Polygon>
Instantiates a new Wx::Polygon with an array of Wx::Points for a given POLYGON or an ellipse with given parameters.
add_point(x,y,recalc=1) --> void
Adds a point to the polygon. If scale and rotation have been used, rescales and rerotates the polygon after adding the point. If recalc is set to 0, this will not be done, which is better when a lot of points need added.
recalc() --> void
Rescales and rerotates the polygon. This method should be used when a lot of points need to be added. Recalculation can than be done after adding the points.
set_color(r,g,b) --> void
Sets the fill color to wxSOLID with the given r, g and b values.
mid() --> (midx:integer,midy:integer)
Calculates the middle of the polygon (not point z) and returns a list with x and y position.
in(x,y) --> boolean
Calculates if (x,y) falls within the edges of the polygon. Returns true if so. Uses algorithm of Randolph Franklin, http://astronomy.swin.edu.au/~pbourke/geometry/insidepoly.
draw( dc:Wx::DC ) --> void
Draws the polygon at given offsets and with given colour(s) to the current DC.
copy() --> Wx::Polygon
Returns a copy of the object.
scale(scale-factor) --> void
Scales the polygon with scale-factor.
rotate(degrees) --> void
Rotates the polygon by degrees degrees (0-360).
offset(x,y) --> void
Sets the offset for drawing. This can be used to transpose the polygon.
ABSTRACT
This module provides functions for manipulating polygons in wxPerl.
new( POLYGON = (Wx::Point,...) | ELLIPSE => (x_offset,y_offset,width,heigth) ) --> Wx::Polygon>
Instantiates a new Wx::Polygon with an array of Wx::Points for a given POLYGON or an ellipse with given parameters.
add_point(x,y,recalc=1) --> void
Adds a point to the polygon. If scale and rotation have been used, rescales and rerotates the polygon after adding the point. If recalc is set to 0, this will not be done, which is better when a lot of points need added.
recalc() --> void
Rescales and rerotates the polygon. This method should be used when a lot of points need to be added. Recalculation can than be done after adding the points.
set_color(r,g,b) --> void
Sets the fill color to wxSOLID with the given r, g and b values.
mid() --> (midx:integer,midy:integer)
Calculates the middle of the polygon (not point z) and returns a list with x and y position.
in(x,y) --> boolean
Calculates if (x,y) falls within the edges of the polygon. Returns true if so. Uses algorithm of Randolph Franklin, http://astronomy.swin.edu.au/~pbourke/geometry/insidepoly.
draw( dc:Wx::DC ) --> void
Draws the polygon at given offsets and with given colour(s) to the current DC.
copy() --> Wx::Polygon
Returns a copy of the object.
scale(scale-factor) --> void
Scales the polygon with scale-factor.
rotate(degrees) --> void
Rotates the polygon by degrees degrees (0-360).
offset(x,y) --> void
Sets the offset for drawing. This can be used to transpose the polygon.
Wx::Polygon 0.06 Screenshot
Wx::Polygon 0.06 Keywords
Polygon 0.06
Can Draw
polygon
void
polygons
WxPerl
given
draw
Wx::Polygon
WxPolygon
Wx::Polygon 0.06
Libraries
Programming
Bookmark Wx::Polygon 0.06
Wx::Polygon 0.06 Copyright
WareSeeker periodically updates pricing and software information of Wx::Polygon 0.06 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Wx::Polygon 0.06 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
types of polygons
what are polygons
polygons pictures
polygon shapes
polygons with more than 20 sides
regular polygon
regular polygons
what is a polygon
names polygons
polygon names
frequency polygon
convex polygon
tornado polygons
polygon calculation
how many sides does a polygon have
polygon northwest
similar polygons
myspace johnny polygon
Related Software
wxPerl is a Perl wrapper for the awesome wxWidgets cross-platform GUI toolkit with native look and feel. Free Download
Polygon Puzzle is a tessellation puzzle inspired by Beat The Computer. Free Download
Wykobi is an efficient, robust, and simple to use multi-platform 2D/3D computational geometry library. Free Download
Pod::DocBook is a Perl module to convert pod files to DocBook SGML. Free Download
MP3::Find is a Perl module to search and sort MP3 files based on their ID3 tags. Free Download
mod_choke is a module for Apache that limits usage by greedy clients. Free Download
sqlpp Perl package is a SQL preprocessor. Free Download
C is pronounced large-C and is a pseudo-interpreter of the C programming language. Free Download
Latest Software
Popular Software
Favourite Software