Drawing Primitives
Functions for drawing points, lines, arcs, and text
These functions provide support for drawing points, lines, arcs and text
onto what are called 'drawables'. Drawables, as the name suggests, are things
which support drawing onto them, and are either #GdkWindow or #GdkPixmap
objects.
Many of the drawing operations take a #GdkGC argument, which represents a
graphics context. This #GdkGC contains a number of drawing attributes such
as foreground color, background color and line width, and is used to reduce
the number of arguments needed for each drawing operation. See the
Graphics Contexts section for
more information.
An opaque structure representing an object that can be
drawn onto. This can be a #GdkPixmap, a #GdkBitmap,
or a #GdkWindow.
@drawable:
@Returns:
@drawable:
@drawable:
@key:
@data:
@destroy_func:
@drawable:
@key:
@Returns:
@drawable:
@Returns:
@drawable:
@Returns:
@drawable:
@Returns:
@drawable:
@colormap:
@drawable:
@Returns:
@drawable:
@Returns:
@drawable:
@width:
@height:
@drawable:
@Returns:
@drawable:
@Returns:
@drawable:
@gc:
@x:
@y:
@drawable:
@gc:
@points:
@npoints:
@drawable:
@gc:
@x1_:
@y1_:
@x2_:
@y2_:
@drawable:
@gc:
@points:
lines.
@npoints:
@drawable:
@gc:
@pixbuf:
@src_x:
@src_y:
@dest_x:
@dest_y:
@width:
@height:
@dither:
@x_dither:
@y_dither:
@drawable:
@gc:
@segs:
@nsegs:
Specifies the start and end point of a line for use by the gdk_draw_segments()
function.
@x1: the x coordinate of the start point.
@y1: the y coordinate of the start point.
@x2: the x coordinate of the end point.
@y2: the y coordinate of the end point.
@drawable:
@gc:
@filled:
@x:
@y:
@width:
@height:
@drawable:
@gc:
@filled:
@x:
@y:
@width:
@height:
@angle1:
@angle2:
@drawable:
@gc:
@filled:
@points:
@npoints:
@drawable:
@gc:
@font:
@x:
@y:
@glyphs:
@drawable:
@gc:
@x:
@y:
@line:
@drawable:
@gc:
@x:
@y:
@line:
@foreground:
@background:
@drawable:
@gc:
@x:
@y:
@layout:
@drawable:
@gc:
@x:
@y:
@layout:
@foreground:
@background:
@drawable:
@font:
@gc:
@x:
@y:
@string:
@drawable:
@font:
@gc:
@x:
@y:
@text:
@text_length:
@drawable:
@font:
@gc:
@x:
@y:
@text:
@text_length:
Draws a pixmap, or a part of a pixmap, onto another drawable.
@drawable:
@gc:
@src:
@xsrc:
@ysrc:
@xdest:
@ydest:
@width:
@height:
@drawable:
@gc:
@image:
@xsrc:
@ysrc:
@xdest:
@ydest:
@width:
@height:
@drawable:
@x:
@y:
@width:
@height:
@Returns: