[Graphics] More convenient backend access

Michael Goffioul michael.goffioul at gmail.com
Thu Jan 24 05:24:55 CST 2008


The attached patch allows a more convenient backend access from any
graphics_object (by delegating to the parent object). It's not heavily
used for the moment, but I'm sure it'll be convenient for future development.

Michael.

src/ChangeLog

2008-01-23  Michael Goffioul <michael.goffioul at gmail.com>

    * graphics.h.in (base_properties::get_backend,
    base_graphics_object::get_backend, graphics_backend::get_backend):
    New methods for convenient access to the backend.
    (figure::get_backend, figure::set_backend): Remove.
    * graphics.cc (base_properties::get_backend): New method.
    (Fdrawnow): Use graphics_object::get_backend to simplify code.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: graphics-backend.diff
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080124/4da43d7a/attachment.ksh 


More information about the Octave-maintainers mailing list