49
49
\section{Detailed Description}{These functions provide support for drawing points, lines, arcs and text
50
50
onto what are called 'drawables'. Drawables, as the name suggests, are things
51
which support drawing onto them, and are either \verb{\link{GdkWindow}} or \verb{\link{GdkPixmap}}
51
which support drawing onto them, and are either \code{\link{GdkWindow}} or \code{\link{GdkPixmap}}
54
Many of the drawing operations take a \verb{\link{GdkGC}} argument, which represents a
55
graphics context. This \verb{\link{GdkGC}} contains a number of drawing attributes such
54
Many of the drawing operations take a \code{\link{GdkGC}} argument, which represents a
55
graphics context. This \code{\link{GdkGC}} contains a number of drawing attributes such
56
56
as foreground color, background color and line width, and is used to reduce
57
57
the number of arguments needed for each drawing operation. See the
58
58
Graphics Contexts section for
61
Some of the drawing operations take Pango data structures like \verb{\link{PangoContext}},
62
\verb{\link{PangoLayout}} or \verb{\link{PangoLayoutLine}} as arguments. If you're using GTK+, the ususal
61
Some of the drawing operations take Pango data structures like \code{\link{PangoContext}},
62
\code{\link{PangoLayout}} or \code{\link{PangoLayoutLine}} as arguments. If you're using GTK+, the ususal
63
63
way to obtain these structures is via \code{\link{gtkWidgetCreatePangoContext}} or
64
64
\code{\link{gtkWidgetCreatePangoLayout}}.}
65
65
\section{Structures}{\describe{
66
66
\item{\verb{GdkDrawable}}{
67
67
An opaque structure representing an object that can be
68
drawn onto. This can be a \verb{\link{GdkPixmap}}, a \verb{\link{GdkBitmap}},
69
or a \verb{\link{GdkWindow}}.
68
drawn onto. This can be a \code{\link{GdkPixmap}}, a \code{\link{GdkBitmap}},
69
or a \code{\link{GdkWindow}}.
72
72
\item{\verb{GdkSegment}}{
85
85
\item{\verb{GdkTrapezoid}}{
86
86
Specifies a trapezpoid for use by the \code{\link{gdkDrawTrapezoids}}.
87
The trapezoids used here have parallel, horizontal top and
87
The trapezoids used here have parallel, horizontal top and
89
89
\strong{\verb{GdkTrapezoid} is a \link{transparent-type}.}