libgeglmm Reference Documentation |
Public Member Functions | |
void | clear (const Rectangle&) |
void | copy (const Rectangle& src_rect, const Glib::RefPtr<Buffer>& dest, const Rectangle& dest_rect) |
Glib::RefPtr<Buffer> | create_sub_buffer (const Rectangle& extent) |
void | destroy () |
Glib::RefPtr<Buffer> | dup () const |
void | flush () |
void | get (double scale, const Rectangle& rect, const Babl* format, void* dest, int rowstride) const |
Rectangle | get_extent () const |
const Babl* | get_format () |
const GeglBuffer* | gobj () const |
Provides access to the underlying C GObject. | |
GeglBuffer* | gobj () |
Provides access to the underlying C GObject. | |
GeglBuffer* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
void | linear_close (gpointer linear) |
gpointer* | linear_open (const Rectangle& r, gint& rowstride, const Babl* format) |
Glib::PropertyProxy_ReadOnly<int> | property_abyss_height () const |
pixel height of abyss. | |
Glib::PropertyProxy_ReadOnly<int> | property_abyss_width () const |
pixel width of abyss. | |
Glib::PropertyProxy_ReadOnly<int> | property_abyss_x () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly<int> | property_abyss_y () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly <Babl*> | property_format () const |
babl format. | |
Glib::PropertyProxy<Babl*> | property_format () |
babl format. | |
Glib::PropertyProxy_ReadOnly<int> | property_height () const |
pixel height of buffer. | |
Glib::PropertyProxy<int> | property_height () |
pixel height of buffer. | |
Glib::PropertyProxy_ReadOnly<int> | property_pixels () const |
total amount of pixels in image (width x height). | |
Glib::PropertyProxy_ReadOnly<int> | property_px_size () const |
size of a single pixel in bytes. | |
Glib::PropertyProxy_ReadOnly<int> | property_shift_x () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly<int> | property_shift_y () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly<int> | property_width () const |
pixel width of buffer. | |
Glib::PropertyProxy<int> | property_width () |
pixel width of buffer. | |
Glib::PropertyProxy_ReadOnly<int> | property_x () const |
local origin's offset relative to source origin. | |
Glib::PropertyProxy<int> | property_x () |
local origin's offset relative to source origin. | |
Glib::PropertyProxy_ReadOnly<int> | property_y () const |
local origin's offset relative to source origin. | |
Glib::PropertyProxy<int> | property_y () |
local origin's offset relative to source origin. | |
void | sample (double x, double y, double scale, void* dest, const Babl* format, Interpolation interpolation) |
void | sample_cleanup () |
void | save (const Glib::ustring&) const |
void | save (const Glib::ustring&, const Rectangle&) const |
void | set (const Rectangle& rect, const Babl* format, void* src, int rowstride) |
void | set_extent (const Rectangle&) |
Glib::SignalProxy1< void, const Rectangle& > | signal_changed () |
virtual | ~Buffer () |
Static Public Member Functions | |
static Glib::RefPtr<Buffer> | create (const Rectangle& extent, const Babl* format) |
static Glib::RefPtr<Buffer> | create_from_file (const Glib::ustring&) |
static Interpolation | interpolation_from_string (const Glib::ustring& string) |
Protected Member Functions | |
Buffer (const Rectangle& extent, const Babl* format) | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gegl::Buffer> | wrap (GeglBuffer* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual Gegl::Buffer::~Buffer | ( | ) | [virtual] |
Gegl::Buffer::Buffer | ( | const Rectangle& | extent, | |
const Babl * | format | |||
) | [protected] |
void Gegl::Buffer::clear | ( | const Rectangle& | ) |
void Gegl::Buffer::copy | ( | const Rectangle& | src_rect, | |
const Glib::RefPtr<Buffer>& | dest, | |||
const Rectangle& | dest_rect | |||
) |
static Glib::RefPtr<Buffer> Gegl::Buffer::create | ( | const Rectangle& | extent, | |
const Babl * | format | |||
) | [static] |
static Glib::RefPtr<Buffer> Gegl::Buffer::create_from_file | ( | const Glib::ustring & | ) | [static] |
Glib::RefPtr<Buffer> Gegl::Buffer::create_sub_buffer | ( | const Rectangle& | extent | ) |
void Gegl::Buffer::destroy | ( | ) |
Glib::RefPtr<Buffer> Gegl::Buffer::dup | ( | ) | const |
void Gegl::Buffer::flush | ( | ) |
void Gegl::Buffer::get | ( | double | scale, | |
const Rectangle& | rect, | |||
const Babl * | format, | |||
void * | dest, | |||
int | rowstride | |||
) | const |
Rectangle Gegl::Buffer::get_extent | ( | ) | const |
const Babl* Gegl::Buffer::get_format | ( | ) |
const GeglBuffer* Gegl::Buffer::gobj | ( | ) | const [inline] |
GeglBuffer* Gegl::Buffer::gobj | ( | ) | [inline] |
GeglBuffer* Gegl::Buffer::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
static Interpolation Gegl::Buffer::interpolation_from_string | ( | const Glib::ustring & | string | ) | [static] |
void Gegl::Buffer::linear_close | ( | gpointer | linear | ) |
gpointer* Gegl::Buffer::linear_open | ( | const Rectangle& | r, | |
gint & | rowstride, | |||
const Babl * | format | |||
) |
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_abyss_height | ( | ) | const |
pixel height of abyss.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_abyss_width | ( | ) | const |
pixel width of abyss.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_abyss_x | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_abyss_y | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Babl*> Gegl::Buffer::property_format | ( | ) | const |
babl format.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Babl*> Gegl::Buffer::property_format | ( | ) |
babl format.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_height | ( | ) | const |
pixel height of buffer.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gegl::Buffer::property_height | ( | ) |
pixel height of buffer.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_pixels | ( | ) | const |
total amount of pixels in image (width x height).
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_px_size | ( | ) | const |
size of a single pixel in bytes.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_shift_x | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_shift_y | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_width | ( | ) | const |
pixel width of buffer.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gegl::Buffer::property_width | ( | ) |
pixel width of buffer.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_x | ( | ) | const |
local origin's offset relative to source origin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gegl::Buffer::property_x | ( | ) |
local origin's offset relative to source origin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gegl::Buffer::property_y | ( | ) | const |
local origin's offset relative to source origin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gegl::Buffer::property_y | ( | ) |
local origin's offset relative to source origin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void Gegl::Buffer::sample | ( | double | x, | |
double | y, | |||
double | scale, | |||
void * | dest, | |||
const Babl * | format, | |||
Interpolation | interpolation | |||
) |
void Gegl::Buffer::sample_cleanup | ( | ) |
void Gegl::Buffer::save | ( | const Glib::ustring & | ) | const |
void Gegl::Buffer::save | ( | const Glib::ustring & | , | |
const Rectangle& | ||||
) | const |
void Gegl::Buffer::set | ( | const Rectangle& | rect, | |
const Babl * | format, | |||
void * | src, | |||
int | rowstride | |||
) |
void Gegl::Buffer::set_extent | ( | const Rectangle& | ) |
Glib::SignalProxy1<void,const Rectangle&> Gegl::Buffer::signal_changed | ( | ) |
void on_my_changed(const Rectangle& r)
Glib::RefPtr<Gegl::Buffer> wrap | ( | GeglBuffer * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |