class Inti::Gdk::Drawable

Name

class Inti::Gdk::Drawable -- 

Synopsis

class Inti::Gdk::Drawable is declared in the header inti/gdk/drawable.h.

This is an abstract base class, and may not be instantiated.

Superclasses. Object

Subclasses. Pixmap, Window

Class members

Public Methods.
GdkDrawable * gdk_drawable () const
int width () const
int height () const
void get_size (int * width, int * height) const
const Visual & visual () const
int depth () const
void set_colormap (Colormap * cmap)
Colormap * colormap () const
GC * create_gc () const
GC * create_gc (const GC::Values & values) const
void draw_point (GC * gc, int x, int y)
void draw_point (GC * gc, const Point & point)
void draw_points (GC * gc, const vector<Point> & points)
void draw_points (GC * gc, const Point * points_array, unsigned int points_array_length)
void draw_line (GC * gc, int x1, int y1, int x2, int y2)
void draw_line (GC * gc, const Point & point1, const Point & point2)
void draw_lines (GC * gc, const vector<Point> & points)
void draw_lines (GC * gc, const Point * points_array, unsigned int points_array_length)
void draw_segments (GC * gc, const vector<Segment> & segments)
void draw_segments (GC * gc, const Segment * segments_array, unsigned int segments_array_length)
void draw_rectangle (GC * gc, bool filled, int x, int y, int width, int height)
void draw_arc (GC * gc, bool filled, int x, int y, int width, int height, int angle1, int angle2)
void draw_polygon (GC * gc, bool filled, const vector<Point> & points)
void draw_polygon (GC * gc, bool filled, const Point * points_array, unsigned int points_array_length)
void draw_drawable (GC * gc, Drawable * src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
void draw_image (GC * gc, Image * src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
Image * get_image (int x, int y, int width, int height) const

Protected Constructors.
Drawable (GdkDrawable * src, GdkDrawableClass * orig)

Protected Destructor.
virtual  ~Drawable () = 0

Protected Virtual Methods.
virtual GC * create_gc_impl (const GC::Values & values)
virtual GC * create_gc_impl ()
virtual void draw_rectangle_impl (GC * gc, bool filled, int x, int y, int width, int height)
virtual void draw_arc_impl (GC * gc, bool filled, int x, int y, int width, int height, int angle1, int angle2)
virtual void draw_polygon_impl (GC * gc, bool filled, const Point * points_array, unsigned int points_array_length)
virtual void draw_drawable_impl (GC * gc, Drawable * drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
virtual void draw_points_impl (GC * gc, const Point * points_array, unsigned int points_array_length)
virtual void draw_segments_impl (GC * gc, const Segment * segments_array, unsigned int segments_array_length)
virtual void draw_lines_impl (GC * gc, const Point * points_array, unsigned int points_array_length)
virtual void draw_image_impl (GC * gc, Image * image, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
virtual int depth_impl ()
virtual void get_size_impl (int * width, int * height)
virtual void set_colormap_impl (Colormap * cmap)
virtual Colormap * colormap_impl ()
virtual const Visual & visual_impl ()

Description

Public Methods

method Inti::Gdk::Drawable::gdk_drawable

GdkDrawable * gdk_drawable () const

method Inti::Gdk::Drawable::width

int width () const

method Inti::Gdk::Drawable::height

int height () const

method Inti::Gdk::Drawable::get_size

void get_size (int * width, int * height) const

width 
height 

method Inti::Gdk::Drawable::visual

const Visual & visual () const

method Inti::Gdk::Drawable::depth

int depth () const

method Inti::Gdk::Drawable::set_colormap

void set_colormap (Colormap * cmap)

cmap 

method Inti::Gdk::Drawable::colormap

Colormap * colormap () const

method Inti::Gdk::Drawable::create_gc

GC * create_gc () const

method Inti::Gdk::Drawable::create_gc

GC * create_gc (const GC::Values & values) const

values 

method Inti::Gdk::Drawable::draw_point

void draw_point (GC * gc, int x, int y)

gc 
x 
y 

method Inti::Gdk::Drawable::draw_point

void draw_point (GC * gc, const Point & point)

gc 
point 

method Inti::Gdk::Drawable::draw_points

void draw_points (GC * gc, const vector<Point> & points)

gc 
points 

method Inti::Gdk::Drawable::draw_points

void draw_points (GC * gc, const Point * points_array, unsigned int points_array_length)

gc 
points_array 
points_array_length 

method Inti::Gdk::Drawable::draw_line

void draw_line (GC * gc, int x1, int y1, int x2, int y2)

gc 
x1 
y1 
x2 
y2 

method Inti::Gdk::Drawable::draw_line

void draw_line (GC * gc, const Point & point1, const Point & point2)

gc 
point1 
point2 

method Inti::Gdk::Drawable::draw_lines

void draw_lines (GC * gc, const vector<Point> & points)

gc 
points 

method Inti::Gdk::Drawable::draw_lines

void draw_lines (GC * gc, const Point * points_array, unsigned int points_array_length)

gc 
points_array 
points_array_length 

method Inti::Gdk::Drawable::draw_segments

void draw_segments (GC * gc, const vector<Segment> & segments)

gc 
segments 

method Inti::Gdk::Drawable::draw_segments

void draw_segments (GC * gc, const Segment * segments_array, unsigned int segments_array_length)

gc 
segments_array 
segments_array_length 

method Inti::Gdk::Drawable::draw_rectangle

void draw_rectangle (GC * gc, bool filled, int x, int y, int width, int height)

gc 
filled 
x 
y 
width 
height 

method Inti::Gdk::Drawable::draw_arc

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

gc 
filled 
x 
y 
width 
height 
angle1 
angle2 

method Inti::Gdk::Drawable::draw_polygon

void draw_polygon (GC * gc, bool filled, const vector<Point> & points)

gc 
filled 
points 

method Inti::Gdk::Drawable::draw_polygon

void draw_polygon (GC * gc, bool filled, const Point * points_array, unsigned int points_array_length)

gc 
filled 
points_array 
points_array_length 

method Inti::Gdk::Drawable::draw_drawable

void draw_drawable (GC * gc, Drawable * src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)

gc 
src 
src_x 
src_y 
dest_x 
dest_y 
width 
height 

method Inti::Gdk::Drawable::draw_image

void draw_image (GC * gc, Image * src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)

gc 
src 
src_x 
src_y 
dest_x 
dest_y 
width 
height 

method Inti::Gdk::Drawable::get_image

Image * get_image (int x, int y, int width, int height) const

x 
y 
width 
height 

Protected Constructors

method Inti::Gdk::Drawable::Drawable

Drawable (GdkDrawable * src, GdkDrawableClass * orig)

src 
orig 

Protected Destructor

method Inti::Gdk::Drawable::~Drawable

virtual  ~Drawable () = 0

Protected Virtual Methods

method Inti::Gdk::Drawable::create_gc_impl

virtual GC * create_gc_impl (const GC::Values & values)

values 

method Inti::Gdk::Drawable::create_gc_impl

virtual GC * create_gc_impl ()

method Inti::Gdk::Drawable::draw_rectangle_impl

virtual void draw_rectangle_impl (GC * gc, bool filled, int x, int y, int width, int height)

gc 
filled 
x 
y 
width 
height 

method Inti::Gdk::Drawable::draw_arc_impl

virtual void draw_arc_impl (GC * gc, bool filled, int x, int y, int width, int height, int angle1, int angle2)

gc 
filled 
x 
y 
width 
height 
angle1 
angle2 

method Inti::Gdk::Drawable::draw_polygon_impl

virtual void draw_polygon_impl (GC * gc, bool filled, const Point * points_array, unsigned int points_array_length)

gc 
filled 
points_array 
points_array_length 

method Inti::Gdk::Drawable::draw_drawable_impl

virtual void draw_drawable_impl (GC * gc, Drawable * drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height)

gc 
drawable 
src_x 
src_y 
dest_x 
dest_y 
width 
height 

method Inti::Gdk::Drawable::draw_points_impl

virtual void draw_points_impl (GC * gc, const Point * points_array, unsigned int points_array_length)

gc 
points_array 
points_array_length 

method Inti::Gdk::Drawable::draw_segments_impl

virtual void draw_segments_impl (GC * gc, const Segment * segments_array, unsigned int segments_array_length)

gc 
segments_array 
segments_array_length 

method Inti::Gdk::Drawable::draw_lines_impl

virtual void draw_lines_impl (GC * gc, const Point * points_array, unsigned int points_array_length)

gc 
points_array 
points_array_length 

method Inti::Gdk::Drawable::draw_image_impl

virtual void draw_image_impl (GC * gc, Image * image, int src_x, int src_y, int dest_x, int dest_y, int width, int height)

gc 
image 
src_x 
src_y 
dest_x 
dest_y 
width 
height 

method Inti::Gdk::Drawable::depth_impl

virtual int depth_impl ()

method Inti::Gdk::Drawable::get_size_impl

virtual void get_size_impl (int * width, int * height)

width 
height 

method Inti::Gdk::Drawable::set_colormap_impl

virtual void set_colormap_impl (Colormap * cmap)

cmap 

method Inti::Gdk::Drawable::colormap_impl

virtual Colormap * colormap_impl ()

method Inti::Gdk::Drawable::visual_impl

virtual const Visual & visual_impl ()