From: amerke <art...@ud...> - 2020-08-03 22:50:16
|
see the pictures i solved the problem using def paint(cr) cr= @darea.window.create_cairo_context ... cr.destory end so by creating a new cairo context (the given cr doesn't fit the drawable area, but the entire window) quite strange, but seems to work this way what about the pressed/focused buttons (which are not togglebuttons)??? On 03.08.20 22:51, Sutou Kouhei wrote: > Hi, > > In <424...@ud...> > "Re: [ruby-gnome2-devel-en] problems with ruby/gtk/tcp" on Mon, 3 Aug 2020 01:14:54 +0200, > amerke <art...@ud...> wrote: > >> the matrix seems to be applied with respect to the entire window but >> NOT with respect to the DrawingArea (is much to high) >> >> how do i use a cairo contex with matrix transformations with respect >> to the DrawingArea itself? >> >> i also curious why the buttons keep pressed/focused (it are normal >> buttons, not togglebuttons) > > Could you show the expected result by an image? > > > Thanks, > -- > kou > > > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > |