Re: Get width and height of a Cairo::Context
- From: Compro Prasad <comproprasad gmail com>
- To: Daniel Boles <dboles src gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Get width and height of a Cairo::Context
- Date: Wed, 16 May 2018 22:52:33 +0530
On Wed, May 16, 2018 at 10:47 PM, Daniel Boles <dboles src gmail com> wrote:
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
That is IMO for drawing area and not cairo context. I want to get
width and hright
inside "draw_thing" function where I don't think drawing area is available.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]