gdk-2.0 Reference Manual

Synopsis

public class Region {
    public                              Region                    (  ) ;


    public    weak Region               copy                      (  ) ;
    public    bool                      empty                     (  ) ;
    public    bool                      equal                     ( Region              region2 ) ;
    public    void                      get_clipbox               ( Rectangle           rectangle ) ;
    public    void                      get_rectangles            ( Rectangle[]         rectangles ) ;
    public    void                      intersect                 ( Region              source2 ) ;
    public    void                      offset                    ( int                 dx,
                                                                    int                 dy ) ;
    public    bool                      point_in                  ( int                 x,
                                                                    int                 y ) ;
    public    static weak Region        polygon                   ( Point               points,
                                                                    int                 npoints,
                                                                    FillRule            fill_rule ) ;
    public    OverlapType               rect_in                   ( Rectangle           rectangle ) ;
    public    static weak Region        rectangle                 ( Rectangle           rectangle ) ;
    public    void                      shrink                    ( int                 dx,
                                                                    int                 dy ) ;
    public    void                      spans_intersect_foreach   ( Span[]              spans,
                                                                    bool                sorted,
                                                                    SpanFunc            function,
                                                                    void**              data ) ;
    public    void                      subtract                  ( Region              source2 ) ;
    public    void                      union                     ( Region              source2 ) ;
    public    void                      union_with_rect           ( Rectangle           rect ) ;
    public    void                      xor                       ( Region              source2 ) ;
}

Region Description

Details

Constructor Details

Region ()
    public                              Region                    (  ) ;		

Field Details

Signal Details

Property Details

Method Details

copy ()
    public    weak Region               copy                      (  ) ;		

empty ()
    public    bool                      empty                     (  ) ;		

equal ()
    public    bool                      equal                     ( Region              region2 ) ;		

get_clipbox ()
    public    void                      get_clipbox               ( Rectangle           rectangle ) ;		

get_rectangles ()
    public    void                      get_rectangles            ( Rectangle[]         rectangles ) ;		

intersect ()
    public    void                      intersect                 ( Region              source2 ) ;		

offset ()
    public    void                      offset                    ( int                 dx,
                                                                    int                 dy ) ;		

point_in ()
    public    bool                      point_in                  ( int                 x,
                                                                    int                 y ) ;		

polygon ()
    public    static weak Region        polygon                   ( Point               points,
                                                                    int                 npoints,
                                                                    FillRule            fill_rule ) ;		

rect_in ()
    public    OverlapType               rect_in                   ( Rectangle           rectangle ) ;		

rectangle ()
    public    static weak Region        rectangle                 ( Rectangle           rectangle ) ;		

shrink ()
    public    void                      shrink                    ( int                 dx,
                                                                    int                 dy ) ;		

spans_intersect_foreach ()
    public    void                      spans_intersect_foreach   ( Span[]              spans,
                                                                    bool                sorted,
                                                                    SpanFunc            function,
                                                                    void**              data ) ;		

subtract ()
    public    void                      subtract                  ( Region              source2 ) ;		

union ()
    public    void                      union                     ( Region              source2 ) ;		

union_with_rect ()
    public    void                      union_with_rect           ( Rectangle           rect ) ;		

xor ()
    public    void                      xor                       ( Region              source2 ) ;		


Created by Valadoc