From: Mark de W. <m.d...@da...> - 2009-10-07 07:58:26
|
Mark de Wever wrote: > Hi, > > I've been working on creating a plplot widget in gtkmm [1], this widget > uses the extcairo driver. In order to get this widget working I've been > making several modifications to the plplot sources. I created a new patch in response to the discussion regarding the offset usage. I hope the other questions in my initial mail will be answered as well and some feedback about the patch in general. I haven't been able to get PLESC_RESIZE to work as wanted so disabled it for now. PLESC_INITFIT calls plbop() which causes the initial drawing to work as wanted. Since the offsets in the geometry aren't meant to be used as offset in the widget, the x1 and y1 of the clipping rectangle should both be 0.0 when used in PLESC_INITFIT. I added a warning if that pre-condition is not true. Regards, Mark de Wever |