NAME

Cairo::CuttingLine - draw cutting line to cairo surface

VERSION

Version 0.02

SYNOPSIS

to use Cairo::CuttingLine to render cutting lines to a canvas:

use Cairo::CuttingLine;

we need to provide Cairo::Context for Cairo::CuttingLine method new.

my $page = Cairo::CuttingLine->new( $cr );

or set Cairo::Context object by cr accessor

$page->cr( $cr );

$page->set(  x => 10 , y => 10  );
$page->size( width => 100 , width => 120 );
$page->length( 10 );
$page->line_width( 3 );
$page->color( 1, 1, 1, 1 );    # for set_source_rgba
$page->stroke();

FUNCTIONS

AUTHOR

Cornelius, <cornelius.howl at gmail.com>

BUGS

Please report any bugs or feature requests to bug-cairo-cuttingline at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cairo-CuttingLine. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Cairo::CuttingLine

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2009 Cornelius, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.