Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.885.525 Times

Wx::Polygon 0.06

  Date Added: April 21, 2010  |  Visits: 749

Wx::Polygon

Report Broken Link
Printer Friendly Version


Product Homepage
Download (98 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Draw Given Libraries Point Polygon Polygons Programming Void Wxpolygon
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


WX::POLYGON RELATED
Education  -  Chaotica 1.0.1
With Chaotica you can now create your very own fractals! Chaotica is designed to draw fractals using the Chaos Game method. First, you pick a set of vertices and a fraction. Chaotica will choose a point at random and then draw the next...
307.2 KB  
Games  -  Hexomino - Rummy Meets Blocks, Tiles and Math 1.0.0
Hexomino is a puzzle game which brings COLORS, NUMBERS and SHAPES together, based on number six. It will blow your mind with it's unique and quick game play. Your goal very is simple. ? SET YOUR STRATEGY ? DRAW GIVEN SHAPES WITH...
6.3 MB  
Travel  -  Sri Lanka Train Schedule 2.1.0.0
This application can be used to get all the train schedules within given tarting point and destination in Sri Lanka. This is the first application which was developed to provide train schedule details in Sri Lanka for Windows Phones....
1024 KB  
Libraries  -  Lib3df 20030825
Lib3df is a C++ library to load 3D world. It works under Windows,MacOS,Linux and most Unixes. HLIB is a C++ library intended to facilitate the use of ".MAP" files in applications. ".MAP" files are produced by the "Valve Hammer Editor" availlable...
2.5 MB  
Libraries  -  Lazarus x32 0.9.30.2
The Lazarus IDE application was designed to be a stable and feature rich visual programming environment for the FreePascal Compiler. It supports the creation of self-standing graphical and console applications. Lazarus is the class libraries for...
64.5 MB  
Libraries  -  Lazarus x64 0.9.30.2
The Lazarus IDE application was designed to be a stable and feature rich visual programming environment for the FreePascal Compiler. It supports the creation of self-standing graphical and console applications. Lazarus is the class libraries for...
75.5 MB  
Libraries  -  Lazarus for Mac OS X 0.9.30.2
The Lazarus IDE application was designed to be a stable and feature rich visual programming environment for the FreePascal Compiler. It supports the creation of self-standing graphical and console applications. Lazarus is the class libraries for...
121.3 MB  
Libraries  -  Lazarus for Linux 0.9.30.2
The Lazarus IDE application was designed to be a stable and feature rich visual programming environment for the FreePascal Compiler. It supports the creation of self-standing graphical and console applications. Lazarus is the class libraries for...
53.6 MB  
Utilities  -  geo-utils 0.1
geo-utils contains two helpful utility functions: 1. Point-in-polygon test 2. Random point generator. Right now it performs better if the polygon covers a large portion of its bounding box. The test is performed using this...
10.24 KB  
Libraries  -  Font::TTF::Scripts::AP 0.7
Font::TTF::Scripts::AP is a memory representation of a TTFBuilder Attachment Point database (APDB). SYNOPSIS use Font::TTF::Scripts::AP; $ap = Font::TTF::Scripts::AP->read_font($ttf_file, $ap_file, %opts); $ap->make_classes(); INSTANCE...
102.4 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB