GDK Reference Manualangle2 : the end angle of the arc, relative to angle1, in 1/64ths of a degree.
Draws an outlined or filled polygon. drawable : a GdkDrawable (a GdkWindow or a GdkPixmap). gc : a GdkGC. filled : TRUE if the polygon should be filled. The polygon is closed automatically, connecting the last point to the first point if necessary. points : an array of GdkPoint structures specifying the points making up the polygon. npoints : the number of points.
Draws a string of characters in the given font or fontset. drawable : a GdkDrawable (a GdkWindow or a GdkPixmap). font : a GdkFont. gc : a GdkGC. x : the x coordinate of the left edge of the text. y : the y coordinate of the baseline of the text. string : the string of characters to draw.
Draws a number of characters in the given font or fontset. drawable : a GdkDrawable (a GdkWindow or a GdkPixmap). font : a GdkFont. gc : a GdkGC. x : the x coordinate of the left edge of the text. y : the y coordinate of the baseline of the text. text : the characters to draw. text_length : the number of characters of text to draw.
Draws a number of wide characters using the given font of fontset. If the font is a 1-byte font, the string is converted into 1-byte characters (discarding the high bytes) before output. drawable : a GdkDrawable (a GdkWindow or a GdkPixmap). font : a GdkFont. gc : a GdkGC. x : the x coordinate of the left edge of the text. y : the y coordinate of the baseline of the text. text : the wide characters to draw. text_length : the number of characters to draw.
Draws a pixmap, or a part of a pixmap, onto another drawable. drawable : a GdkDrawable (a GdkWindow or a GdkPixmap). gc : a GdkGC. src : the source GdkPixmap to draw. xsrc : the left edge of the source rectangle within src. ysrc : the top of the source rectangle within src. xdest : the x coordinate of the destination within drawable. ydest : the y coordinate of the destination within drawable. width : the width of the area to be copied, or -1 to make the area extend to the right edge of the source pixmap. height : the height of the area to be copied, or -1 to make the area extend to the bottom edge of the source pixmap.
Draws a GdkImage onto a drawable. The depth of the GdkImage must match the depth of the GdkDrawable. drawable : a GdkDrawable (a GdkWindow or a GdkPixmap). gc : a GdkGC. image : the GdkImage to draw. xsrc : the left edge of the source rectangle within image. ysrc : the top of the source rectangle within image. xdest : the x coordinate of the destination within drawable. ydest : the y coordinate of the destination within drawable. width : the width of the area to be copied, or -1 to make the area extend to the right edge of image. height : the height of the area to be copied, or -1 to make the area extend to the bottom edge of image. Bitmaps and Pixmaps 上一篇:GTK v1.2 Tutorial(英文) 下一篇:Java入门(12) 事件与错误处理 更多相关文章
|
推荐文章
精彩文章
|