![]() ![]() Specified to indicate no difference in height. ![]() For Tk_Fill3DPolygon, TK_RELIEF_FLAT may also be TK_RELIEF_GROOVE and TK_RELIEF_RIDGE mean the obvious TK_RELIEF_SUNKEN means right side should appear higher TK_RELIEF_RAISED means left side should appear higher and int leftRelief (in) Height of left side of polygon's path relative to right. TK_RELIEF_RIDGE then the border is centered on the trajectory. Trajectory given by pointPtr if negative, border is drawn to right int polyBorderWidth (in) Width of border in pixels. int numPoints (in) Number of points at *pointPtr. The polygon need not be closed (it will be closed automatically if it is XPoint *pointPtr (in) Pointer to array of points describing the set of vertices in a polygon. (may also be TK_RELIEF_FLAT for Tk_Fill3DRectangle). TK_RELIEF_GROOVE, TK_RELIEF_SOLID, or TK_RELIEF_RIDGE int relief (in) Indicates 3-D position of interior of value relative to exterior should Positive means border is inside rectangle givenīy x, y, width, height, negative means border int borderWidth (in) Width of border in pixels. int height (in) Height of rectangle describing border or bevel, in pixels. int width (in) Width of rectangle describing border or bevel, in pixels. int y (in) Y-coordinate of upper-left corner of rectangle describing border or bevel, ![]() int x (in) X-coordinate of upper-left corner of rectangle describing border or bevel, Tk_3DBorder border (in) Token for border previously allocated in call to Must either be the X window for tkwin or a pixmap with the same Drawable drawable (in) X token for window or pixmap indicates where graphics are to be drawn. char *colorName (in) Same as objPtr except value is supplied as a string rather than a Illuminated edges will be brighter than this and shadowedĮdges will be darker than this. Tcl_Obj *objPtr (in) Pointer to value whose value describes color corresponding to background The window for which the border was allocated). Tk_Window tkwin (in) Token for window (for all procedures except Tk_Get3DBorder, must be Tk_3DBorderGC( tkwin, border, which ) Tk_Free3DBorderFromObj( tkwin, objPtr ) Tk_Free3DBorder( border ) ARGUMENTS Tcl_Interp *interp (in) Interpreter to use for error reporting. Tk_SetBackgroundFromBorder( tkwin, border ) Tk_3DHorizontalBevel( tkwin, drawable, border, x, y, width, height, leftIn, rightIn, topBevel, relief ) Tk_3DVerticalBevel( tkwin, drawable, border, x, y, width, height, leftBevel, relief ) Tk_Fill3DPolygon( tkwin, drawable, border, pointPtr, numPoints, polyBorderWidth, leftRelief ) Tk_Draw3DPolygon( tkwin, drawable, border, pointPtr, numPoints, polyBorderWidth, leftRelief ) Tk_Fill3DRectangle( tkwin, drawable, border, x, y, width, height, borderWidth, relief ) Tk_Draw3DRectangle( tkwin, drawable, border, x, y, width, height, borderWidth, relief ) Tk_Get3DBorder( interp, tkwin, colorName ) Tk_Alloc3DBorderFromObj( interp, tkwin, objPtr ) Tk_Free3DBorder - draw borders with three-dimensional appearance SYNOPSIS #include Tk_NameOf3DBorder, Tk_3DBorderColor, Tk_3DBorderGC, Tk_Free3DBorderFromObj, Tk_3DVerticalBevel, Tk_3DHorizontalBevel, Tk_SetBackgroundFromBorder, Tk_Draw3DRectangle, Tk_Fill3DRectangle, Tk_Draw3DPolygon, Tk_Fill3DPolygon, Tk_Alloc3DBorderFromObj, Tk_Get3DBorder, Tk_Get3DBorderFromObj, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |