gboolean gegl_operation_sink_needs_full (GeglOperation *operation) { GeglOperationSinkClass *klass; klass = GEGL_OPERATION_SINK_CLASS (G_OBJECT_GET_CLASS (operation)); return klass->needs_full; }
static void gegl_chant_class_init (GeglChantClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = process; sink_class->needs_full = FALSE; operation_class->name = "gegl:write-buffer"; operation_class->categories = "programming:output"; operation_class->description = _("A GEGL buffer destination surface."); }
static void gegl_chant_class_init (GeglChantClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = process; sink_class->needs_full = TRUE; operation_class->name = "gegl:sdl-display"; operation_class->categories = "display"; operation_class->description = _("Displays the input buffer in an SDL window (restricted to one" " display op/process, due to SDL implementation issues)."); }
static void gegl_chant_class_init (GeglChantClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name" , "gegl:save-pixbuf", "categories" , "programming:output", "description" , _("Save output into a GdkPixbuf."), NULL); }
static void gegl_chant_class_init (GeglChantClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = gegl_png_save_process; sink_class->needs_full = TRUE; operation_class->name = "gegl:png-save"; operation_class->categories = "output"; operation_class->description = _("PNG image saver (passes the buffer through, saves as a side-effect.)"); gegl_extension_handler_register_saver (".png", "gegl:png-save"); }
static void gegl_op_class_init (GeglOpClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; G_OBJECT_CLASS (klass)->finalize = finalize; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name" , "gegl:ff-save", "categories" , "output:video", "description" , _("FFmpeg video output sink"), NULL); }
static void gegl_op_class_init (GeglOpClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = gegl_buffer_save_op_process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name" , "gegl:gegl-buffer-save", "categories" , "hidden", "description", _("GeglBuffer file writer."), NULL); gegl_extension_handler_register_saver (".gegl", "gegl:gegl-buffer-save"); }
static void gegl_chant_class_init (GeglChantClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = process; sink_class->needs_full = FALSE; G_OBJECT_CLASS (klass)->dispose = dispose; gegl_operation_class_set_keys (operation_class, "name" , "gegl:write-buffer", "categories" , "programming:output", "description", _("A GEGL buffer destination surface."), NULL); }
static void gegl_chant_class_init (GeglChantClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = gegl_jpg_save_process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name" , "gegl:jpg-save", "categories" , "output", "description" , _("JPEG image saver (passes the buffer through, saves as a side-effect)"), NULL); gegl_extension_handler_register_saver (".jpg", "gegl:jpg-save"); }
static void gegl_op_class_init (GeglOpClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name", "gegl:npy-save", "title", _("NumPy File Saver"), "categories", "output", "description", _("NumPy (Numerical Python) image saver"), NULL); gegl_operation_handlers_register_saver ( ".npy", "gegl:npy-save"); }
static void gegl_chant_class_init (GeglChantClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; // cast operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); // make object method attributes refer to reimplemented virtual (or default) methods sink_class->process = process; sink_class->needs_full = FALSE; operation_class->name = "gegl:gimp-sink"; operation_class->compat_name = "gegl:save-drawable"; operation_class->categories = "programming:output"; operation_class->description = _("Sink to a GIMP Drawable, for use by GIMP plug-ins."); /* operation_class->no_cache = TRUE; */ }
static void gegl_op_class_init (GeglOpClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); sink_class->process = gegl_jpg_save_process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name", "gegl:jpg-save", "title", _("JPEG File Saver"), "categories", "output", "description", _("JPEG image saver, using libjpeg"), NULL); gegl_extension_handler_register_saver (".jpg", "gegl:jpg-save"); }
static void gegl_chant_class_init (GeglChantClass *klass) { GObjectClass *object_class; GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; object_class = G_OBJECT_CLASS (klass); operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); object_class->finalize = finalize; sink_class->process = process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name" , "gegl:sdl-display", "categories" , "display", "description" , _("Displays the input buffer in an SDL window (restricted to one" " display op/process, due to SDL implementation issues)."), NULL); }
static void gegl_op_class_init (GeglOpClass *klass) { GObjectClass *object_class; GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; object_class = G_OBJECT_CLASS (klass); operation_class = GEGL_OPERATION_CLASS (klass); sink_class = GEGL_OPERATION_SINK_CLASS (klass); object_class->finalize = finalize; sink_class->process = process; sink_class->needs_full = TRUE; gegl_operation_class_set_keys (operation_class, "name", "example:cogl-texture", "title", _("Cogl Texture"), "categories", "display", "description", _("Node preperaing content for display with clutter."), NULL); }
static void gegl_op_class_init(GeglOpClass *klass) { GeglOperationClass *operation_class; GeglOperationSinkClass *sink_class; operation_class = GEGL_OPERATION_CLASS(klass); sink_class = GEGL_OPERATION_SINK_CLASS(klass); sink_class->needs_full = TRUE; sink_class->process = process; gegl_operation_class_set_keys(operation_class, "name", "gegl:tiff-save", "title", _("TIFF File Saver"), "categories", "output", "description", _("TIFF image saver using libtiff"), NULL); gegl_operation_handlers_register_saver( ".tiff", "gegl:tiff-save"); gegl_operation_handlers_register_saver( ".tif", "gegl:tiff-save"); }