Crash of emWin library when text is rotated

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Crash of emWin library when text is rotated

615 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Herrbert on Wed Mar 02 08:01:34 MST 2016
Hi,

I use GUI_DispStringInRectEx to rotate a text.

Here is a simple snippet:
GUI_RECT rect = {0, 0, 300, 300};

GUI_DispStringInRectEx("Text", &rect,
            (GUI_TA_VCENTER | GUI_TA_HCENTER),
            7, GUI_ROTATE_180);


This code works, when called with GUI_ROTATE_0. When it is called with any other value e.g. GUI_ROTATE_180 then a hardfault occures.

I use the following environment:
LP1788 on custom board
Crossworks 2.3.5
Precompiled emWin 5.30c library from NXP

Has anyone else experienced the same problem?

Thanks!
标签 (1)
0 项奖励
回复
1 回复

493 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复