GDK Reference ManualGDK_CAP_BUTT the ends of the lines are drawn squared off and extending to the coordinates of the end point. GDK_CAP_ROUND the ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point. GDK_CAP_PROJECTING the ends of the lines are drawn squared off and extending half the width of the line beyond the end point. enum GdkJoinStyle
Determines how the joins between segments of a polygon are drawn. GDK_JOIN_MITER the sides of each line are extended to meet at an angle. GDK_JOIN_ROUND the sides of the two lines are joined by a circular arc. GDK_JOIN_BEVEL the sides of the two lines are joined by a straight line which makes an equal angle with each line.
Sets the way dashed-lines are drawn. Lines will be drawn with alternating on and off segments of the lengths specified in dash_list. The manner in which the on and off segments are drawn is determined by the line_style value of the GC. (This can be changed with gdk_gc_set_line_attributes) gc : a GdkGC. dash_offset : the dash_list : an array of dash lengths. n : the number of elements in dash_list.
Copy the set of values from one graphics context onto another graphics context. dst_gc : the destination graphics context. src_gc : the source graphics context. Drawing Primitives Name Drawing Primitives -- functions for drawing points, lines, arcs, and text. Synopsis
Description 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. Details
Draws a point, using the foreground color and other attributes of the GdkGC. drawable : a GdkDrawable (a GdkWindow or a GdkPixmap). gc : a GdkGC. x : the x coordinate of the point. y : the y coordinate of the point.
|