首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏python3

    tkinter -- Canvas(1)

    指定矩形的边框颜色为红色,画虚线 使用画刷填充 指定画布的背景色为白色 使用属性 stipple 代码: import tkinter as tk root = tk.Tk() # 创建一个 Canvas (root, bg='white') # 创建一个矩形,坐标为(10,10,110,110) cv.create_rectangle(10, 10, 110, 110, outline='red', stipple , bg='white') # 创建一个矩形,坐标为(10,10,110,110) rt = cv.create_rectangle(10, 10, 110, 110, outline='red', stipple

    94630发布于 2018-08-03
  • 来自专栏数据 学术 商业 新闻

    全了!!气象绘图技巧大汇总~~

    colorbar_orientation='horizontal') cfp.gclose() Multiple plots on a page and plot positioning Stipple cf.read('cfplot_data/tas_A1.nc')[0] g=f.subspace(time=15) cfp.gopen() cfp.cscale('magma') cfp.con(g) cfp.stipple (f=g, min=220, max=260, size=100, color='#00ff00') cfp.stipple(f=g, min=300, max=330, size=50, color=

    87030编辑于 2022-02-17
  • 来自专栏c++ 学习分享

    一些CGAL基础操作的任务

    Delaunay::Edge_iterator eit; //遍历Delaunay的所有边,绘制Delaunay图的对偶图,即Voronoi图 glEnable( GL_LINE_STIPPLE >(&o)->point(1).hy() ); glEnd(); } } glDisable( GL_LINE_STIPPLE

    58120编辑于 2023-07-06
  • 来自专栏muller的测试分享

    软件测试|超好用超简单的Python GUI库——tkinter(十五)

    smooth 选项为 True 时该选项才会生效state指定该画布对象的状态,默认值为 "normal",参数值有 "normal","disabled"(不可用)和 "hidden"(隐藏)三种状态stipple

    1.8K10编辑于 2023-06-02
  • 来自专栏程序你好

    使用SharpGL三维建模技术生成3D井眼轨迹图

    gl.LineWidth(1f); //允许绘制虚线 gl.Enable(OpenGL.GL_LINE_STIPPLE

    4.8K50发布于 2019-11-06
  • [C++][opengl]利用glut和gluax画矩形等

    glut.h> #include<glaux.h> void myDisplay(void) { glClear(GL_COLOR_BUFFER_BIT); glEnable(GL_LINE_STIPPLE 镂空多边形 使用glEnable(GL_POLYGON_STIPPLE);来启动镂空模式(使用glDisable(GL_POLYGON_STIPPLE)可以关闭之)。 , sizeof(Mask), 1, fp)) exit(0); fclose(fp); glClear(GL_COLOR_BUFFER_BIT); glEnable(GL_POLYGON_STIPPLE

    40710编辑于 2025-07-20
领券