是不是在windml中画圆的话,设置了线的宽度为3,但是画出来的仍是1?
有什么解决方法?
ps:我的双缓冲在仿真下能实现,但是下载到目标机上就不行,显卡是CT69000
/* memory for CT-69000 */ { (void *)0xd8000000, (void *)0xd8000000, 0x1000000, VM_STATE_MASK_FOR_ALL, VM_STATE_FOR_IO },
是什么原因呢
uglBatchStart(gc); uglForegroundColorSet(gc,colorTable[WHITE].uglColor); uglBackgroundColorSet(gc,colorTable[RED].uglColor); uglLineWidthSet(gc,3); uglLineStyleSet(gc,UGL_LINE_STYLE_SOLID); uglLineWidthGet(gc,&linewidth); uglEllipse(gc,0,0,100,100,0,0,0,0);
uglForegroundColorSet(gc,colorTable[WHITE].uglColor); uglBackgroundColorSet(gc,colorTable[RED].uglColor); uglLineWidthSet(gc,3); uglLineStyleSet(gc,UGL_LINE_STYLE_SOLID); uglLineWidthGet(gc,&linewidth); uglRectangle(gc,200,200,300,300);
uglBatchEnd(gc);
用uglLineWidthGet得到的线宽是3啊,可是画出来却是1。画矩形的就是3
打赏帖 | |
---|---|
【Zephyr】MCXN947 Zephyr 开发入门适配shell被打赏20分 | |
【我要开发板】6.联合MATLAB记录数据被打赏50分 | |
【瑞萨RA2E1开发板】:使用ADC功能实现位移传感器采集方案被打赏20分 | |
【nRF7002DK】基于sht30的温湿度计被打赏20分 | |
【nRF7002DK】日志打印被打赏20分 | |
【换取手持示波器】RGB屏幕移植ARM-2D库被打赏35分 | |
【分享开发笔记,赚取电动螺丝刀】分享一下如何解决瑞萨RA2E1使用printf编译报错问题被打赏27分 | |
rtthread硬件加密-5hash加密分析被打赏10分 | |
【换取手持示波器】Mongoose 零代码创建网页仪表盘被打赏33分 | |
【分享开发笔记,赚取电动螺丝刀】基于.Net6.0 WPF简单做一个MQTT收发小工具被打赏24分 |