是不是在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
| 有奖活动 | |
|---|---|
| 硬核工程师专属补给计划——填盲盒 | |
| “我踩过的那些坑”主题活动——第002期 | |
| 【EEPW电子工程师创研计划】技术变现通道已开启~ | |
| 发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
| 【EEPW在线】E起听工程师的声音! | |
| 高校联络员开始招募啦!有惊喜!! | |
| 【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
| 送您一块开发板,2025年“我要开发板活动”又开始了! | |