octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Graphics] More convenient backend access


From: Shai Ayal
Subject: Re: [Graphics] More convenient backend access
Date: Fri, 25 Jan 2008 16:07:08 +0200

On Jan 24, 2008 1:24 PM, Michael Goffioul <address@hidden> wrote:
> 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 <address@hidden>
>
>     * 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.
>

Michael, I'm not sure I understand how this works:
How does a new backend register?
How can the backend for a figure be set (by the user)?
How can the backend for a figure be read (get) by the user?

Shai


reply via email to

[Prev in Thread] Current Thread [Next in Thread]