Get width and height of a Cairo::Context
- From: Compro Prasad <comproprasad gmail com>
- To: gtkmm-list gnome org
- Subject: Get width and height of a Cairo::Context
- Date: Wed, 16 May 2018 22:12:17 +0530
I have a function that is run when drawing in a Gtk::DrawingArea.
Signal:
paintarea.signal_draw().connect(sigc::ptr_fun(draw_thing));
draw_thing prototype:
int draw_thing(const Cairo::RefPtr<Cairo::Context> cr)
I want to get height and width of the drawing area. How can I obtain them?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]