gdk-2.0 Reference Manual

Synopsis

public class Drawable : Object  {
    public    weak Image                copy_to_image             ( Image               image,
                                                                    int                 src_x,
                                                                    int                 src_y,
                                                                    int                 dest_x,
                                                                    int                 dest_y,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    weak Display              get_display               (  ) ;
    public    virtual weak GC           create_gc                 ( GCValues            values,
                                                                    GCValuesMask        mask ) ;
    public    virtual void              draw_arc                  ( GC                  gc,
                                                                    bool                filled,
                                                                    int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 angle1,
                                                                    int                 angle2 ) ;
    public    virtual void              draw_drawable             ( GC                  gc,
                                                                    Drawable            src,
                                                                    int                 xsrc,
                                                                    int                 ysrc,
                                                                    int                 xdest,
                                                                    int                 ydest,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    virtual void              draw_glyphs               ( GC                  gc,
                                                                    Pango.Font          font,
                                                                    int                 x,
                                                                    int                 y,
                                                                    Pango.GlyphString   glyphs ) ;
    public    virtual void              draw_glyphs_transformed   ( GC                  gc,
                                                                    Pango.Matrix        matrix,
                                                                    Pango.Font          font,
                                                                    int                 x,
                                                                    int                 y,
                                                                    Pango.GlyphString   glyphs ) ;
    public    virtual void              draw_image                ( GC                  gc,
                                                                    Image               image,
                                                                    int                 xsrc,
                                                                    int                 ysrc,
                                                                    int                 xdest,
                                                                    int                 ydest,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    virtual void              draw_lines                ( GC                  gc,
                                                                    Point               points,
                                                                    int                 npoints ) ;
    public    virtual void              draw_pixbuf               ( GC                  gc,
                                                                    Pixbuf              pixbuf,
                                                                    int                 src_x,
                                                                    int                 src_y,
                                                                    int                 dest_x,
                                                                    int                 dest_y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    RgbDither           dither,
                                                                    int                 x_dither,
                                                                    int                 y_dither ) ;
    public    virtual void              draw_points               ( GC                  gc,
                                                                    Point               points,
                                                                    int                 npoints ) ;
    public    virtual void              draw_polygon              ( GC                  gc,
                                                                    bool                filled,
                                                                    Point               points,
                                                                    int                 npoints ) ;
    public    virtual void              draw_rectangle            ( GC                  gc,
                                                                    bool                filled,
                                                                    int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    virtual void              draw_segments             ( GC                  gc,
                                                                    Segment             segs,
                                                                    int                 nsegs ) ;
    public    virtual void              draw_text                 ( Font                font,
                                                                    GC                  gc,
                                                                    int                 x,
                                                                    int                 y,
                                                                    string              text,
                                                                    int                 text_length ) ;
    public    virtual void              draw_text_wc              ( Font                font,
                                                                    GC                  gc,
                                                                    int                 x,
                                                                    int                 y,
                                                                    WChar               text,
                                                                    int                 text_length ) ;
    public    virtual void              draw_trapezoids           ( GC                  gc,
                                                                    Trapezoid[]         trapezoids ) ;
    public    virtual weak Region       get_clip_region           (  ) ;
    public    virtual weak Colormap     get_colormap              (  ) ;
    public    virtual weak Drawable     get_composite_drawable    ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 composite_x_offset,
                                                                    int                 composite_y_offset ) ;
    public    virtual int               get_depth                 (  ) ;
    public    virtual weak Image        get_image                 ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    virtual weak Screen       get_screen                (  ) ;
    public    virtual void              get_size                  ( int                 width,
                                                                    int                 height ) ;
    public    virtual weak Region       get_visible_region        (  ) ;
    public    virtual weak Visual       get_visual                (  ) ;
    public    virtual weak Cairo.Surface  ref_cairo_surface         (  ) ;
    public    virtual void              set_colormap              ( Colormap            colormap ) ;
}

Drawable Description

Details

Constructor Details

Field Details

Signal Details

Property Details

Method Details

copy_to_image ()
    public    weak Image                copy_to_image             ( Image               image,
                                                                    int                 src_x,
                                                                    int                 src_y,
                                                                    int                 dest_x,
                                                                    int                 dest_y,
                                                                    int                 width,
                                                                    int                 height ) ;		

get_display ()
    public    weak Display              get_display               (  ) ;		

create_gc ()
    public    virtual weak GC           create_gc                 ( GCValues            values,
                                                                    GCValuesMask        mask ) ;		

draw_arc ()
    public    virtual void              draw_arc                  ( GC                  gc,
                                                                    bool                filled,
                                                                    int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 angle1,
                                                                    int                 angle2 ) ;		

draw_drawable ()
    public    virtual void              draw_drawable             ( GC                  gc,
                                                                    Drawable            src,
                                                                    int                 xsrc,
                                                                    int                 ysrc,
                                                                    int                 xdest,
                                                                    int                 ydest,
                                                                    int                 width,
                                                                    int                 height ) ;		

draw_glyphs ()
    public    virtual void              draw_glyphs               ( GC                  gc,
                                                                    Pango.Font          font,
                                                                    int                 x,
                                                                    int                 y,
                                                                    Pango.GlyphString   glyphs ) ;		

draw_glyphs_transformed ()
    public    virtual void              draw_glyphs_transformed   ( GC                  gc,
                                                                    Pango.Matrix        matrix,
                                                                    Pango.Font          font,
                                                                    int                 x,
                                                                    int                 y,
                                                                    Pango.GlyphString   glyphs ) ;		

draw_image ()
    public    virtual void              draw_image                ( GC                  gc,
                                                                    Image               image,
                                                                    int                 xsrc,
                                                                    int                 ysrc,
                                                                    int                 xdest,
                                                                    int                 ydest,
                                                                    int                 width,
                                                                    int                 height ) ;		

draw_lines ()
    public    virtual void              draw_lines                ( GC                  gc,
                                                                    Point               points,
                                                                    int                 npoints ) ;		

draw_pixbuf ()
    public    virtual void              draw_pixbuf               ( GC                  gc,
                                                                    Pixbuf              pixbuf,
                                                                    int                 src_x,
                                                                    int                 src_y,
                                                                    int                 dest_x,
                                                                    int                 dest_y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    RgbDither           dither,
                                                                    int                 x_dither,
                                                                    int                 y_dither ) ;		

draw_points ()
    public    virtual void              draw_points               ( GC                  gc,
                                                                    Point               points,
                                                                    int                 npoints ) ;		

draw_polygon ()
    public    virtual void              draw_polygon              ( GC                  gc,
                                                                    bool                filled,
                                                                    Point               points,
                                                                    int                 npoints ) ;		

draw_rectangle ()
    public    virtual void              draw_rectangle            ( GC                  gc,
                                                                    bool                filled,
                                                                    int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;		

draw_segments ()
    public    virtual void              draw_segments             ( GC                  gc,
                                                                    Segment             segs,
                                                                    int                 nsegs ) ;		

draw_text ()
    public    virtual void              draw_text                 ( Font                font,
                                                                    GC                  gc,
                                                                    int                 x,
                                                                    int                 y,
                                                                    string              text,
                                                                    int                 text_length ) ;		

draw_text_wc ()
    public    virtual void              draw_text_wc              ( Font                font,
                                                                    GC                  gc,
                                                                    int                 x,
                                                                    int                 y,
                                                                    WChar               text,
                                                                    int                 text_length ) ;		

draw_trapezoids ()
    public    virtual void              draw_trapezoids           ( GC                  gc,
                                                                    Trapezoid[]         trapezoids ) ;		

get_clip_region ()
    public    virtual weak Region       get_clip_region           (  ) ;		

get_colormap ()
    public    virtual weak Colormap     get_colormap              (  ) ;		

get_composite_drawable ()
    public    virtual weak Drawable     get_composite_drawable    ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 composite_x_offset,
                                                                    int                 composite_y_offset ) ;		

get_depth ()
    public    virtual int               get_depth                 (  ) ;		

get_image ()
    public    virtual weak Image        get_image                 ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;		

get_screen ()
    public    virtual weak Screen       get_screen                (  ) ;		

get_size ()
    public    virtual void              get_size                  ( int                 width,
                                                                    int                 height ) ;		

get_visible_region ()
    public    virtual weak Region       get_visible_region        (  ) ;		

get_visual ()
    public    virtual weak Visual       get_visual                (  ) ;		

ref_cairo_surface ()
    public    virtual weak Cairo.Surface  ref_cairo_surface         (  ) ;		

set_colormap ()
    public    virtual void              set_colormap              ( Colormap            colormap ) ;		


Created by Valadoc