manpagez: man pages & more
html files: libgimpwidgets
Home | html | info | man

GimpColorDisplay

GimpColorDisplay — Pluggable GIMP display color correction modules.

Properties

GimpColorConfig * color-config Read / Write / Construct Only
GimpColorManaged * color-managed Read / Write / Construct Only
gboolean enabled Read / Write / Construct

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── GimpColorDisplay

Implemented Interfaces

GimpColorDisplay implements GimpConfigInterface.

Description

Functions and definitions for creating pluggable GIMP display color correction modules.

Functions

gimp_color_display_new ()

GimpColorDisplay *
gimp_color_display_new (GType display_type);

gimp_color_display_new is deprecated and should not be used in newly-written code.

This function is deprecated. Please use g_object_new() directly.

Parameters

display_type

the GType of the GimpColorDisplay to instantiate.

 

Returns

a new GimpColorDisplay object.


gimp_color_display_clone ()

GimpColorDisplay *
gimp_color_display_clone (GimpColorDisplay *display);

gimp_color_display_set_enabled ()

void
gimp_color_display_set_enabled (GimpColorDisplay *display,
                                gboolean enabled);

gimp_color_display_get_enabled ()

gboolean
gimp_color_display_get_enabled (GimpColorDisplay *display);

gimp_color_display_get_config ()

GimpColorConfig *
gimp_color_display_get_config (GimpColorDisplay *display);

Returns

a pointer to the GimpColorConfig object or NULL.

Since: 2.4


gimp_color_display_get_managed ()

GimpColorManaged *
gimp_color_display_get_managed (GimpColorDisplay *display);

Returns

a pointer to the GimpColorManaged object or NULL.

Since: 2.4


gimp_color_display_convert ()

void
gimp_color_display_convert (GimpColorDisplay *display,
                            guchar *buf,
                            gint width,
                            gint height,
                            gint bpp,
                            gint bpl);

gimp_color_display_convert is deprecated and should not be used in newly-written code.

GIMP 2.8: Use gimp_color_display_convert_buffer() instead.

Converts all pixels in buf .

Parameters

display

a GimpColorDisplay

 

buf

the pixel buffer to convert

 

width

the width of the buffer

 

height

the height of the buffer

 

bpp

the number of bytes per pixel

 

bpl

the buffer's rowstride

 

gimp_color_display_convert_surface ()

void
gimp_color_display_convert_surface (GimpColorDisplay *display,
                                    cairo_surface_t *surface);

gimp_color_display_convert_surface is deprecated and should not be used in newly-written code.

GIMP 2.8: Use gimp_color_display_convert_buffer() instead.

Converts all pixels in surface .

Parameters

display

a GimpColorDisplay

 

surface

a cairo_image_surface_t of type ARGB32

 

Since: 2.8


gimp_color_display_convert_buffer ()

void
gimp_color_display_convert_buffer (GimpColorDisplay *display,
                                   GeglBuffer *buffer,
                                   GeglRectangle *area);

Converts all pixels in area of buffer .

Parameters

display

a GimpColorDisplay

 

buffer

a GeglBuffer

 

area

area in buffer to convert

 

Since: 2.10


gimp_color_display_load_state ()

void
gimp_color_display_load_state (GimpColorDisplay *display,
                               GimpParasite *state);

gimp_color_display_save_state ()

GimpParasite *
gimp_color_display_save_state (GimpColorDisplay *display);

gimp_color_display_configure ()

GtkWidget *
gimp_color_display_configure (GimpColorDisplay *display);

gimp_color_display_configure_reset ()

void
gimp_color_display_configure_reset (GimpColorDisplay *display);

gimp_color_display_changed ()

void
gimp_color_display_changed (GimpColorDisplay *display);

Types and Values

GimpColorDisplay

typedef struct _GimpColorDisplay GimpColorDisplay;

Property Details

The “color-config” property

  “color-config”             GimpColorConfig *

The color config used for this filter.

Owner: GimpColorDisplay

Flags: Read / Write / Construct Only


The “color-managed” property

  “color-managed”            GimpColorManaged *

The color managed pixel source that is filtered.

Owner: GimpColorDisplay

Flags: Read / Write / Construct Only


The “enabled” property

  “enabled”                  gboolean

Whether this display filter is enabled.

Owner: GimpColorDisplay

Flags: Read / Write / Construct

Default value: TRUE

Signal Details

The “changed” signal

void
user_function (GimpColorDisplay *gimpcolordisplay,
               gpointer          user_data)

Flags: Run First

© manpagez.com 2000-2022
Individual documents may contain additional copyright information.