## cong-eel

cong-eel —

## Synopsis

    #define     CONG_EEL_LOG_REF_COUNT          (name, obj)
    void        cong_eel_log_ref_count          (const gchar *name,
                                                 GObject *obj);
    void        cong_eel_rectangle_construct    (GdkRectangle *rectangle,
                                                 gint x,
                                                 gint y,
                                                 gint w,
                                                 gint h);
    gchar*      cong_eel_pango_layout_line_get_text
                                                (PangoLayoutLine *layout_line);
    void        cong_eel_rgb_to_gdk_color       (GdkColor *color,
                                                 guchar r,
                                                 guchar g,
                                                 guchar b);
    gboolean    cong_eel_rectangle_contains     (const GdkRectangle *rectangle,
                                                 int x,
                                                 int y);
    guint32     cong_eel_rgb16_to_rgb           (gushort r,
                                                 gushort g,
                                                 gushort b);
    guint32     cong_eel_gdk_color_to_rgb       (const GdkColor *color);
    char*       cong_eel_gdk_rgb_to_color_spec  (guint32 color);
    #define     CONG_EEL_CALL_PARENT            (parent_class_cast_macro, signal, parameters)
    #define     CONG_EEL_CALL_PARENT_WITH_RETURN_VALUE(parent_class_cast_macro, signal,    \
                                              parameters)
    #define     CONG_EEL_CALL_METHOD            (class_cast_macro, object, signal, parameters)
    #define     CONG_EEL_CALL_METHOD_WITH_RETURN_VALUE(class_cast_macro, object, signal,   \
                                              parameters)
    #define     CONG_EEL_ASSIGN_MUST_OVERRIDE_SIGNAL(class_pointer, prefix, signal)
    #define     CONG_EEL_IMPLEMENT_MUST_OVERRIDE_SIGNAL(prefix, signal)
    #define     CONG_EEL_DEFINE_MUST_OVERRIDE_SIGNAL(class_cast_macro, class_pointer, prefix, signal)
    #define     CONG_EEL_ACCESS_METHOD          (class_cast_macro, object, method)
    #define     CONG_EEL_INVOKE_METHOD          (class_cast_macro, object, method, parameters)
    #define     CONG_EEL_ASSERT_METHOD          (class_cast_macro, object, method)
    #define     CONG_EEL_INVOKE_METHOD_IF       (class_cast_macro, object, method, parameters)
    gchar*      cong_eel_prettify_xml_name_with_header_capitalisation
                                                (const gchar *xml_name);
    gchar*      cong_eel_prettify_xml_name_with_sentence_capitalisation
                                                (const gchar *xml_name);
    void        cong_eel_set_string             (gchar **string,
                                                 gchar *value);
    void        cong_eel_draw_pixbuf            (GdkDrawable *drawable,
                                                 GdkGC *gc,
                                                 GdkPixbuf *pixbuf,
                                                 gint src_x,
                                                 gint src_y,
                                                 gint dest_x,
                                                 gint dest_y,
                                                 gint width,
                                                 gint height,
                                                 GdkRgbDither dither,
                                                 gint x_dither,
                                                 gint y_dither);

## Description

## Details

### CONG_EEL_LOG_REF_COUNT()

    #define     CONG_EEL_LOG_REF_COUNT(name, obj)

`name` : |
`obj` : |

### cong_eel_log_ref_count ()

    void        cong_eel_log_ref_count          (const gchar *name,
                                                 GObject *obj);

TODO: Write me

`name` : |
`obj` : |

### cong_eel_rectangle_construct ()

    void        cong_eel_rectangle_construct    (GdkRectangle *rectangle,
                                                 gint x,
                                                 gint y,
                                                 gint w,
                                                 gint h);

TODO: Write me

`rectangle` : |
`x` : |
`y` : |
`w` : |
`h` : |

### cong_eel_pango_layout_line_get_text ()

    gchar*      cong_eel_pango_layout_line_get_text
                                                (PangoLayoutLine *layout_line);

TODO: Write me

`layout_line` : |
Returns : |

### cong_eel_rgb_to_gdk_color ()

    void        cong_eel_rgb_to_gdk_color       (GdkColor *color,
                                                 guchar r,
                                                 guchar g,
                                                 guchar b);

TODO: Write me

`color` : |
`r` : |
`g` : |
`b` : |

### cong_eel_rectangle_contains ()

    gboolean    cong_eel_rectangle_contains     (const GdkRectangle *rectangle,
                                                 int x,
                                                 int y);

`rectangle` : | Rectangle possibly containing a point.
`x` : | X coordinate of a point.
`y` : | Y coordinate of a point.
Returns : | `TRUE` if point is contained inside a rectangle, `FALSE` otherwise

### cong_eel_rgb16_to_rgb ()

    guint32     cong_eel_rgb16_to_rgb           (gushort r,
                                                 gushort g,
                                                 gushort b);

TODO: Write me

`r` : |
`g` : |
`b` : |
Returns : |

### cong_eel_gdk_color_to_rgb ()

    guint32     cong_eel_gdk_color_to_rgb       (const GdkColor *color);

Converts from a GdkColor stlye color to a gdk_rgb one. Alpha gets set to fully opaque

`color` : | A GdkColor style color.
Returns : | An rgb value.

### cong_eel_gdk_rgb_to_color_spec ()

    char*       cong_eel_gdk_rgb_to_color_spec  (guint32 color);

Converts from a gdk_rgb value style to a string color spec. The gdk_rgb color alpha channel is ignored.

`color` : | a gdk_rgb style value.
Returns : | a newly allocated color spec.

### CONG_EEL_CALL_PARENT()

    #define     CONG_EEL_CALL_PARENT(parent_class_cast_macro, signal, parameters)

`parent_class_cast_macro` : |
`signal` : |
`parameters` : |

### CONG_EEL_CALL_PARENT_WITH_RETURN_VALUE()

    #define     CONG_EEL_CALL_PARENT_WITH_RETURN_VALUE(parent_class_cast_macro, signal,    \
                                              parameters)

`parent_class_cast_macro` : |
`signal` : | @\ parameters:

### CONG_EEL_CALL_METHOD()

    #define     CONG_EEL_CALL_METHOD(class_cast_macro, object, signal, parameters)

`class_cast_macro` : |
`object` : |
`signal` : |
`parameters` : |

### CONG_EEL_CALL_METHOD_WITH_RETURN_VALUE()

    #define     CONG_EEL_CALL_METHOD_WITH_RETURN_VALUE(class_cast_macro, object, signal,   \
                                              parameters)

`class_cast_macro` : |
`object` : |
`signal` : | @\ parameters:

### CONG_EEL_ASSIGN_MUST_OVERRIDE_SIGNAL()

    #define     CONG_EEL_ASSIGN_MUST_OVERRIDE_SIGNAL(class_pointer, prefix, signal)

`class_pointer` : |
`prefix` : |
`signal` : |

### CONG_EEL_IMPLEMENT_MUST_OVERRIDE_SIGNAL()

    #define     CONG_EEL_IMPLEMENT_MUST_OVERRIDE_SIGNAL(prefix, signal)

`prefix` : |
`signal` : |

### CONG_EEL_DEFINE_MUST_OVERRIDE_SIGNAL()

    #define CONG_EEL_DEFINE_MUST_OVERRIDE_SIGNAL(class_cast_macro, class_pointer, prefix, signal)

`class_cast_macro` : |
`class_pointer` : |
`prefix` : |
`signal` : |

### CONG_EEL_ACCESS_METHOD()

    #define     CONG_EEL_ACCESS_METHOD(class_cast_macro, object, method)

`class_cast_macro` : |
`object` : |
`method` : |

### CONG_EEL_INVOKE_METHOD()

    #define     CONG_EEL_INVOKE_METHOD(class_cast_macro, object, method, parameters)

`class_cast_macro` : |
`object` : |
`method` : |
`parameters` : |

### CONG_EEL_ASSERT_METHOD()

    #define     CONG_EEL_ASSERT_METHOD(class_cast_macro, object, method)

`class_cast_macro` : |
`object` : |
`method` : |

### CONG_EEL_INVOKE_METHOD_IF()

    #define     CONG_EEL_INVOKE_METHOD_IF(class_cast_macro, object, method, parameters)

`class_cast_macro` : |
`object` : |
`method` : |
`parameters` : |

### cong_eel_prettify_xml_name_with_header_capitalisation ()

    gchar*      cong_eel_prettify_xml_name_with_header_capitalisation
                                                (const gchar *xml_name);

TODO: Write me

`xml_name` : |
Returns : |

### cong_eel_prettify_xml_name_with_sentence_capitalisation ()

    gchar*      cong_eel_prettify_xml_name_with_sentence_capitalisation
                                                (const gchar *xml_name);

TODO: Write me

`xml_name` : |
Returns : |

### cong_eel_set_string ()

    void        cong_eel_set_string             (gchar **string,
                                                 gchar *value);

Sets a `string` to `value`, freeing the old value (if any)

`string` : | a string
`value` : | a new value for the string

### cong_eel_draw_pixbuf ()

    void        cong_eel_draw_pixbuf            (GdkDrawable *drawable,
                                                 GdkGC *gc,
                                                 GdkPixbuf *pixbuf,
                                                 gint src_x,
                                                 gint src_y,
                                                 gint dest_x,
                                                 gint dest_y,
                                                 gint width,
                                                 gint height,
                                                 GdkRgbDither dither,
                                                 gint x_dither,
                                                 gint y_dither);

TODO: Write me

`drawable` : |
`gc` : |
`pixbuf` : |
`src_x` : |
`src_y` : |
`dest_x` : |
`dest_y` : |
`width` : |
`height` : |
`dither` : |
`x_dither` : |
`y_dither` : |