Crash of emWin library when text is rotated

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Crash of emWin library when text is rotated

451 Views
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!
Labels (1)
0 Kudos
1 Reply

329 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos