GDK Reference Manualy : the y-coordinate of the origin.
Sets the origin of the clip mask. The coordinates are interpreted relative to the upper-left corner of the destination drawable of the current operation. gc : a GdkGC. x : the x-coordinate of the origin. y : the y-coordinate of the origin.
Sets the clip mask for a graphics context from a bitmap. The clip mask is interpreted relative to the clip origin. (See gdk_gc_set_clip_origin()). gc : the GdkGC. mask : a bitmap.
Sets the clip mask for a graphics context from a rectangle. The clip mask is interpreted relative to the clip origin. (See gdk_gc_set_clip_origin()). gc : a GdkGC. rectangle : the rectangle to clip to.
Sets the clip mask for a graphics context from a region structure. The clip mask is interpreted relative to the clip origin. (See gdk_gc_set_clip_origin()). gc : a GdkGC. region : the GdkRegion.
Sets how drawing with this GC on a window will affect child windows of that window. gc : a GdkGC. mode : the subwindow mode. enum GdkSubwindowMode
Determines how drawing onto a window will affect child windows of that window. GDK_CLIP_BY_CHILDREN only draw onto the window itself. GDK_INCLUDE_INFERIORS Draw onto the window and child windows.
Sets whether copying non-visible portions of a drawable using this graphics context generate exposure events for the corresponding regions of the destination drawable. (See gdk_draw_pixmap()). gc : a GdkGC. exposures : if TRUE, exposure events will be generated.
Sets various attributes of how lines are drawn. See the corresponding members of GdkGCValues for full explanations of the arguments. gc : a GdkGC. line_width : the width of lines. line_style : the dash-style for lines. cap_style : the manner in which the ends of lines are drawn. join_style : the in which lines are joined together. enum GdkLineStyle
Determines how lines are drawn. GDK_LINE_SOLID lines are drawn solid. GDK_LINE_ON_OFF_DASH even segments are drawn; odd segments are not drawn. GDK_LINE_DOUBLE_DASH even segments are normally. Odd segments are drawn in the background color if the fill style is GDK_SOLID, or in the background color masked by the stipple if the fill style is GDK_STIPPLED. enum GdkCapStyle
Determines how the end of lines are drawn. GDK_CAP_NOT_LAST the same as GDK_CAP_BUTT for lines of non-zero width. for zero width lines, the final point on the line will not be drawn. 上一篇:GTK v1.2 Tutorial(英文) 下一篇:Java入门(12) 事件与错误处理 更多相关文章
|
推荐文章
精彩文章
|