Re: gtk2-perl-xs need to draw text



Steven Usdansky said:
Now for the text drawing problem.  I need a Pango::Layout for the statement
  $pixmap->draw_layout( $my_gc, $my_x, $my_y, $my_layout);
but the statement
  my $layout = new Gtk2::Pango::Layout;
gives the following error:
  Can't locate object method "new" via package "Gtk2::Pango::Layout"

i just finished an implementation of the PangoLayout stuff, but it's taking to
write the testcase (porting a C app with lots of drawing to perl, and there's
a lot of code...).

should be in CVS later this evening.

-- 
muppet <scott at asofyet dot org>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]