Re: Get width and height of a Cairo::Context
- From: Daniel Boles <dboles src gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Get width and height of a Cairo::Context
- Date: Wed, 16 May 2018 18:17:03 +0100
I think all the DrawingArea tutorials I saw mentioned this, but anyway, you just get the width/height of the allocation, so
drawingArea.get_allocation() and then get_(width|height)() on that
or
drawingArea.get_allocated_(width|height)()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]