NAME

Cv::Pango - Draw a variety of characters using the Pango

SYNOPSIS

 use Cv;
 use Cv::Pango;
 
 my $img = Cv::Mat->new([240, 320], CV_8UC4);
 $img->putText(
	"\x{03A0}\x{03B1}\x{03BD}\x{8A9E}", # "Παν語",
	[20, 200], 'Sans Serif 42',
	);
 $img->showImage;
 $img->waitKey;

DESCRIPTION

Cv::Pango draw a variety of characters by using Pango. Replace Cv::Arr::PutText() itself.

BUGS

  • Can use CV_8UC4 and CV_8UC1 only.

  • This package uses the object of Pango :: FontDescription. So put cvGetTextSize() for this namespace.

    Please tell me if you know how patch better.

SEE ALSO

Cv, Pang

AUTHOR

MASUDA Yuta <yuta.cpan@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by MASUDA Yuta

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.