import matplotlib.pyplot as plt import matplotlib.patches as mpatches # draw rectangles on the original image fig, ax = plt.subplots(ncols=1, nrows=1, ...
分类:
其他好文 时间:
2020-01-10 20:43:13
阅读次数:
109
#七段数码管 import turtle, time def drawGap(): #绘制数码管间隔 turtle.penup() turtle.fd(5) def drawLine(draw): #绘制单段数码管 drawGap() turtle.pendown() if draw else tu ...
分类:
其他好文 时间:
2020-01-10 20:17:01
阅读次数:
102
常见实现App 上面侧边栏菜单之前使用SlidingMenu,现在发现Goolgle原生NavigationDrawer也挺好用。但是细心的开发者们发现NavigationDrawer没有类似SlidingMenu全屏平移的效果,其实不用着急,简单修改即可实现此效果。 话不多说上代码: 代码就不发了 ...
分类:
其他好文 时间:
2020-01-10 12:27:01
阅读次数:
60
ContentsIntroduction. ....................................................................................... 524History. ............................ ...
分类:
其他好文 时间:
2020-01-09 22:54:26
阅读次数:
88
错误现象: 解决方案: 1.根据错误信息中的url,找到对应文件夹下的htm文件 2.使用notepad++打开default.htm文件,找到错误提示地方,注释掉其中两句语句,如433和434行所示。一般在该文件的最后面。 然后保存文件,重新新建win32控制台程序。 3.其它地方出现脚本错误,以 ...
分类:
编程语言 时间:
2020-01-09 22:46:56
阅读次数:
74
1. 用 WINDOWPLACEMENT(可以记录最大化、最小化、正常窗口位置) BOOL CtestDialogDlg::ReadWndPosition() { WINDOWPLACEMENT wp; CFile file; if (!file.Open(_T("testDialog.positi ...
分类:
编程语言 时间:
2020-01-09 01:14:11
阅读次数:
98
现在参考网上的做法是在云函数里面生成qrcode,然后保存该jpg到云存储。得到该fileID就可以渲染到image组件,也可以draw到canvas。 出处:https://developers.weixin.qq.com/community/develop/doc/000c02b06ec0d85 ...
分类:
微信 时间:
2020-01-08 18:49:52
阅读次数:
88
需要的控件演示效果 默认的光标是 蓝色 当鼠标悬浮在slider或者拖动的时候则是 白色 整个控件的显示效果具体如图1 1,描述了整个控件需要的UI效果 ![1 1. Slider 演示效果]( https://images.cnblogs.com/cnblogs_com/zuixime0515/1 ...
分类:
编程语言 时间:
2020-01-08 14:45:13
阅读次数:
243
https://about.draw.io/uml-state-diagrams-with-draw-io/ State diagrams have been used in programming to describe the various possible states that a sys ...
分类:
其他好文 时间:
2020-01-08 10:43:43
阅读次数:
96
https://www.jianshu.com/p/1cc5a3f3ba90 https://blog.csdn.net/zhongdong00/article/details/80590396 https://blog.csdn.net/zhongdong00/article/details/80 ...
分类:
其他好文 时间:
2020-01-07 18:18:10
阅读次数:
85