GimpViewRenderer

GimpViewRenderer

Synopsis

#define             GIMP_VIEW_MAX_BORDER_WIDTH
                    GimpViewRenderer;
GimpViewRenderer *  gimp_view_renderer_new              (GimpContext *context,
                                                         GType viewable_type,
                                                         gint size,
                                                         gint border_width,
                                                         gboolean is_popup);
GimpViewRenderer *  gimp_view_renderer_new_full         (GimpContext *context,
                                                         GType viewable_type,
                                                         gint width,
                                                         gint height,
                                                         gint border_width,
                                                         gboolean is_popup);
void                gimp_view_renderer_set_context      (GimpViewRenderer *renderer,
                                                         GimpContext *context);
void                gimp_view_renderer_set_viewable     (GimpViewRenderer *renderer,
                                                         GimpViewable *viewable);
void                gimp_view_renderer_set_size         (GimpViewRenderer *renderer,
                                                         gint size,
                                                         gint border_width);
void                gimp_view_renderer_set_size_full    (GimpViewRenderer *renderer,
                                                         gint width,
                                                         gint height,
                                                         gint border_width);
void                gimp_view_renderer_set_dot_for_dot  (GimpViewRenderer *renderer,
                                                         gboolean dot_for_dot);
void                gimp_view_renderer_set_border_color (GimpViewRenderer *renderer,
                                                         const GimpRGB *border_color);
void                gimp_view_renderer_set_border_type  (GimpViewRenderer *renderer,
                                                         GimpViewBorderType border_type);
void                gimp_view_renderer_set_background   (GimpViewRenderer *renderer,
                                                         const gchar *stock_id);
void                gimp_view_renderer_invalidate       (GimpViewRenderer *renderer);
void                gimp_view_renderer_update           (GimpViewRenderer *renderer);
void                gimp_view_renderer_update_idle      (GimpViewRenderer *renderer);
void                gimp_view_renderer_remove_idle      (GimpViewRenderer *renderer);
void                gimp_view_renderer_draw             (GimpViewRenderer *renderer,
                                                         GtkWidget *widget,
                                                         cairo_t *cr,
                                                         gint available_width,
                                                         gint available_height);
void                gimp_view_renderer_render_stock     (GimpViewRenderer *renderer,
                                                         GtkWidget *widget,
                                                         const gchar *stock_id);
void                gimp_view_renderer_render_pixbuf    (GimpViewRenderer *renderer,
                                                         GdkPixbuf *pixbuf);
void                gimp_view_renderer_render_temp_buf  (GimpViewRenderer *renderer,
                                                         TempBuf *temp_buf,
                                                         gint channel,
                                                         GimpViewBG inside_bg,
                                                         GimpViewBG outside_bg);
void                gimp_view_renderer_render_temp_buf_simple
                                                        (GimpViewRenderer *renderer,
                                                         TempBuf *temp_buf);

Object Hierarchy

  GObject
   +----GimpViewRenderer
         +----GimpViewRendererBrush
         +----GimpViewRendererBuffer
         +----GimpViewRendererDrawable
         +----GimpViewRendererGradient
         +----GimpViewRendererImage
         +----GimpViewRendererImagefile
         +----GimpViewRendererPalette
         +----GimpViewRendererVectors

Signals

  "update"                                         : Run First

Description

Details

GIMP_VIEW_MAX_BORDER_WIDTH

#define GIMP_VIEW_MAX_BORDER_WIDTH 16


GimpViewRenderer

typedef struct _GimpViewRenderer GimpViewRenderer;


gimp_view_renderer_new ()

GimpViewRenderer *  gimp_view_renderer_new              (GimpContext *context,
                                                         GType viewable_type,
                                                         gint size,
                                                         gint border_width,
                                                         gboolean is_popup);


gimp_view_renderer_new_full ()

GimpViewRenderer *  gimp_view_renderer_new_full         (GimpContext *context,
                                                         GType viewable_type,
                                                         gint width,
                                                         gint height,
                                                         gint border_width,
                                                         gboolean is_popup);


gimp_view_renderer_set_context ()

void                gimp_view_renderer_set_context      (GimpViewRenderer *renderer,
                                                         GimpContext *context);


gimp_view_renderer_set_viewable ()

void                gimp_view_renderer_set_viewable     (GimpViewRenderer *renderer,
                                                         GimpViewable *viewable);


gimp_view_renderer_set_size ()

void                gimp_view_renderer_set_size         (GimpViewRenderer *renderer,
                                                         gint size,
                                                         gint border_width);


gimp_view_renderer_set_size_full ()

void                gimp_view_renderer_set_size_full    (GimpViewRenderer *renderer,
                                                         gint width,
                                                         gint height,
                                                         gint border_width);


gimp_view_renderer_set_dot_for_dot ()

void                gimp_view_renderer_set_dot_for_dot  (GimpViewRenderer *renderer,
                                                         gboolean dot_for_dot);


gimp_view_renderer_set_border_color ()

void                gimp_view_renderer_set_border_color (GimpViewRenderer *renderer,
                                                         const GimpRGB *border_color);


gimp_view_renderer_set_border_type ()

void                gimp_view_renderer_set_border_type  (GimpViewRenderer *renderer,
                                                         GimpViewBorderType border_type);


gimp_view_renderer_set_background ()

void                gimp_view_renderer_set_background   (GimpViewRenderer *renderer,
                                                         const gchar *stock_id);


gimp_view_renderer_invalidate ()

void                gimp_view_renderer_invalidate       (GimpViewRenderer *renderer);


gimp_view_renderer_update ()

void                gimp_view_renderer_update           (GimpViewRenderer *renderer);


gimp_view_renderer_update_idle ()

void                gimp_view_renderer_update_idle      (GimpViewRenderer *renderer);


gimp_view_renderer_remove_idle ()

void                gimp_view_renderer_remove_idle      (GimpViewRenderer *renderer);


gimp_view_renderer_draw ()

void                gimp_view_renderer_draw             (GimpViewRenderer *renderer,
                                                         GtkWidget *widget,
                                                         cairo_t *cr,
                                                         gint available_width,
                                                         gint available_height);


gimp_view_renderer_render_stock ()

void                gimp_view_renderer_render_stock     (GimpViewRenderer *renderer,
                                                         GtkWidget *widget,
                                                         const gchar *stock_id);


gimp_view_renderer_render_pixbuf ()

void                gimp_view_renderer_render_pixbuf    (GimpViewRenderer *renderer,
                                                         GdkPixbuf *pixbuf);


gimp_view_renderer_render_temp_buf ()

void                gimp_view_renderer_render_temp_buf  (GimpViewRenderer *renderer,
                                                         TempBuf *temp_buf,
                                                         gint channel,
                                                         GimpViewBG inside_bg,
                                                         GimpViewBG outside_bg);


gimp_view_renderer_render_temp_buf_simple ()

void                gimp_view_renderer_render_temp_buf_simple
                                                        (GimpViewRenderer *renderer,
                                                         TempBuf *temp_buf);

Signal Details

The "update" signal

void                user_function                      (GimpViewRenderer *gimpviewrenderer,
                                                        gpointer          user_data)             : Run First

gimpviewrenderer :

the object which received the signal.

user_data :

user data set when the signal handler was connected.