GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prima::Drawable::Antialias(3) User Contributed Perl Documentation Prima::Drawable::Antialias(3)

Prima::Drawable::Antialias - plot antialiased shapes

Prima offers drawing antialiased lines and shapes, which is rather slow but provides better visual feedback.

The module augments the "Prima::Drawable" drawing functionality by adding "new_aa_surface" function, and contains two plotting functions, "polyline" and "fillpoly", identical to the ones in "Prima::Drawable".

        $canvas-> new_aa_surface-> polyline([0, 0, 100, 100]);

        $canvas-> new_path(antialias => 1)-> ellipse(100,100,100)->fill;

new $CANVAS
Creates a new AA surface object. The object is cheap to keep and reuse.
fillpoly $POLY [ $FILLMODE ]
Paints an antialiased polygon shape. The following properties from $CANVAS are respected: color, fillPattern, fillPatternOffset. Does not plot opaque patterned lines.
polyline $POLY
Plots an antialiased polyline. The following properties from $CANVAS are respected: color, linePattern, lineWidth, lineEnd, lineJoin, miterLimit. Does not plot opaque patterned lines.

Dmitry Karasik, <dmitry@karasik.eu.org>.

Prima::Drawable, examples/antialias.pl
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.