BRT Community

General Category => Discussion - EVE => Topic started by: mkaplan on December 04, 2020, 07:12:29 PM

Title: Eve Screen Editor v3.3.0 visualization proplem
Post by: mkaplan on December 04, 2020, 07:12:29 PM
Hi,

I use Eve screen editor (v3.3.0) to my designs. when ı place a line or rectangle  It doesn't visualization over 511 pixels on horizontal end point.

Do you have sollution for this?

My device configuration: BT816 and WVGA(800x480).

Thanks.

Title: Re: Eve Screen Editor v3.3.0 visualization proplem
Post by: BRT Community on December 07, 2020, 01:59:13 PM
Hello,

The Vertex2II can only handle coordinates from 0 to 511 and so won't allow you to place any items beyond that.

You can use VERTEX2F which has a wider range and can go above 511 as it has more bits for the X and Y values. For things like points, lines and rectangles, the handle and cell parameters are not needed and so VERTEX2F will work well.

Alternatively, in cases where you do need the handle and cell parameters of the VERTEX2II (such as placing bitmaps which have cells) you can use either (1) the VERTEX_TRANSLATE or (2) you can use the CELL instruction before the VERTEX2F (a CELL command followed by a VERTEX2F is similar to a VERTEX2II).

Vertex Translate sets an offset which will be applied to all Vertex commands. We have an example in section 5.2 of this note below.
https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/BRT_AN_014_FT81X_Simple_PIC_Library_Examples.pdf

Best Regards, BRT Community
Title: Re: Eve Screen Editor v3.3.0 visualization proplem
Post by: mkaplan on December 07, 2020, 03:05:00 PM
I have never used a display other than WQVGA (480x272) before. So I missed this trick.
Thanks a lot.  :)