2021-04-15 06:29 AM
I asked this question in the following thread:
But received no responses, so I decided to create it's own thread and ask the question specific to image painters.
I believe there is a bug in TouchGFX. It shows up 4.15.0 and 4.16.1 (I am not sure about other versions). I will explain the process to recreate it below (then maybe I'll get some responses?).
I am having this problem on my custom board, but was able to recreate it with the STM32F769I Discovery Kit template and simulate it. It is an 800x480 display, and I have selected Portrait Display Orientation (the opposite of the native orientation of the display):
I added an image which will be painted in a circle. Here is the image's settings in the Image Format tab of the Designer:
I placed this in a circle. Here is the Designer circle's parameters:
It shows up in the Designer (above), but DOES NOT SHOW UP in the simulator:
If I change the Circle to be painted with a color fill instead of the image, it shows up on the simulator:
The only way that i have been able to get the image to show up on the simulator is adjusting the width of the circle in the Designer:
It then shows up on the simulator:
But notice also that the image is NOT in the correct location (slightly to the right horizontally).
Maybe I am wrong and this is not a bug, but it does not behave the same as when the Display Orientation is set to the same as the Dimensions. (And it is more than frustrating when trying to get it to work in code instead of the Designer).
Also note that I have seen this same behavior when the Display Orientation is Landscape and the WIDTH < HEIGHT.
2021-04-20 06:17 AM
Thanks I'll add it to the notes