Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Prima::Drawable::AntiaUser(Contributed Perl DocumPrima::Drawable::Antialias(3)

NAME
       Prima::Drawable::Antialias - plot antialiased shapes

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

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

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

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

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

SEE ALSO
       Prima::Drawable,	examples/antialias.pl

perl v5.32.1			  2021-11-04	 Prima::Drawable::Antialias(3)

NAME | DESCRIPTION | SYNOPSIS | API | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Prima::Drawable::Antialias&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help