Re: Get width and height of a Cairo::Context



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]