打印

使用ucgui的抗锯齿,当一直出错,不知如何解决,求大神指导

[复制链接]
223|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
求关注啊|  楼主 | 2019-11-27 16:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
UCGUI, ni, TI, IO, AI
#define countof(Array) (sizeof(Array)/sizeof(Array[0]))
         GUI_POINT a1[]={
                {60,0},{51,7},{43,14},{35,21},{30,28},{27,35},{25,42},{23,50},{22,58},
        {24,58},{25,50},{27,42},{29,35},{32,28},{37,21},{45,14},{53,7},{62,2}
                };
               
int main(void)
{

  ledd_init();
        oled_init();
     
SystemInit();
        GUI_Init();
        GUI_AA_SetFactor(4);
GUI_AA_EnableHides();
        GUI_Clear();
        GUI_AA_FillPolygon( a1,18,0,0);
        
}


main.c(49): warning:  #223-D: function "GUI_AA_EnableHides" declared implicitly


main.c(55): error:  #77-D: this declaration has no storage class or type specifier

main.c(56): error:  #169: expected a declaration

cann.c(154): warning:  #61-D: integer operation result is out of range

为啥会出现这些问题,GUI_Conf.h文件中 GUI_SUPPORT_AA也设置成1了,但编译还是不过,求大神指导

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

380

主题

380

帖子

0

粉丝