BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - aharrah

Pages: [1]
1
Discussion - EVE / Long pressing display
« on: October 27, 2023, 11:59:52 PM »

I'm using a BT817 Q with capacitive touch. I find that when I hold down a button, that after 45-60 seconds (varies) that the CTOUCH0 register will return 0x80008000 (no touch). I speculate that this might be a feature in some contexts, but I was hoping to understand the issue better, and possibly adjust some settings to avoid this timeout.




2
Discussion - EVE / Rotated bitmaps are clipped
« on: September 06, 2023, 04:43:43 PM »

Is there a way to increase the size of the clipping region when I do transformations?

When I rotate a bitmap 45 degrees with CMD_ROTATEAROUND the corners of the bitmap are clipped. This is also seen if the bitmap is rectangular and rotated 90 degrees.

For example, if the bitmap is 100x50, and it is rotated 90 degrees, then the displayed bitmap will be rotated, but have the ends clipped.

It acts as if there is a scissor region that is the size of the bitmap.

This also happens when the bitmaps associated with the preloaded fonts are rotated.

--

I am using CMD_ROTATEAROUND to rotate around the center of the bitmap. I have also tried the CMD_TRANSLATE/CMD_ROTATE/CMD_TRANSLATE sequence, but it is effectively the same operation.

The work around for bitmaps is to enlarge the clipping region by simply enlarging the bitmap, filling in the extra with a transparent background. This workaround is not available when displaying built-in fonts though.

Thank you,
Andy

Pages: [1]