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
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 () |
void draw_points (GC * gc, const vector<Point> & points) |
gc | |
points |
void draw_points (GC * gc, const Point * points_array, unsigned int points_array_length) |
gc | |
points_array | |
points_array_length |
void draw_line (GC * gc, int x1, int y1, int x2, int y2) |
gc | |
x1 | |
y1 | |
x2 | |
y2 |
void draw_line (GC * gc, const Point & point1, const Point & point2) |
gc | |
point1 | |
point2 |
void draw_lines (GC * gc, const vector<Point> & points) |
gc | |
points |
void draw_lines (GC * gc, const Point * points_array, unsigned int points_array_length) |
gc | |
points_array | |
points_array_length |
void draw_segments (GC * gc, const vector<Segment> & segments) |
gc | |
segments |
void draw_segments (GC * gc, const Segment * segments_array, unsigned int segments_array_length) |
gc | |
segments_array | |
segments_array_length |
void draw_rectangle (GC * gc, bool filled, int x, int y, int width, int height) |
gc | |
filled | |
x | |
y | |
width | |
height |
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 |
void draw_polygon (GC * gc, bool filled, const vector<Point> & points) |
gc | |
filled | |
points |
void draw_polygon (GC * gc, bool filled, const Point * points_array, unsigned int points_array_length) |
gc | |
filled | |
points_array | |
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) |
gc | |
src | |
src_x | |
src_y | |
dest_x | |
dest_y | |
width | |
height |
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 |
virtual GC * create_gc_impl (const GC::Values & values) |
values |
virtual void draw_rectangle_impl (GC * gc, bool filled, int x, int y, int width, int height) |
gc | |
filled | |
x | |
y | |
width | |
height |
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 |
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 |
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 |
virtual void draw_points_impl (GC * gc, const Point * points_array, unsigned int points_array_length) |
gc | |
points_array | |
points_array_length |
virtual void draw_segments_impl (GC * gc, const Segment * segments_array, unsigned int segments_array_length) |
gc | |
segments_array | |
segments_array_length |
virtual void draw_lines_impl (GC * gc, const Point * points_array, unsigned int points_array_length) |
gc | |
points_array | |
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) |
gc | |
image | |
src_x | |
src_y | |
dest_x | |
dest_y | |
width | |
height |
virtual void get_size_impl (int * width, int * height) |
width | |
height |