Page 1 of 1

Paint over text on TFT display?

Posted: 11 Apr 2012 01:53
by bobspencerr
Hi all,

I am using a TFT Display on a project and have seen that the way to remove text is to draw it again in the background color.
In my case, I have an image in the background of the screen and would like to know if a rectangle section can be painted from the original image into the space where the text was.
In delphi I would use copyrect function.

Is this possible?

Repainting the whole display causes massive flicker problem.

Re: Paint over text on TFT display?

Posted: 11 Apr 2012 10:38
by zristic

Re: Paint over text on TFT display?

Posted: 18 Apr 2012 07:49
by bobspencerr
Thanks but that only shows how to remove a label on a set color.
I have an image in the backround and cant just rewrite over the label with white.

I need to know if you can copy a section only of an image and place it in the lpace where the text is.

Re: Paint over text on TFT display?

Posted: 18 Apr 2012 08:19
by zristic
OK, that is not an easy one. Maybe to try with "Partial_Image" function?
I have not tried that solution myself yet, but it may help.