Paint over text on TFT display?

General discussion on Visual TFT Software.
Post Reply
Author
Message
bobspencerr
Posts: 78
Joined: 17 Jun 2008 13:38

Paint over text on TFT display?

#1 Post by bobspencerr » 11 Apr 2012 01:53

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.


bobspencerr
Posts: 78
Joined: 17 Jun 2008 13:38

Re: Paint over text on TFT display?

#3 Post by bobspencerr » 18 Apr 2012 07:49

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.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: Paint over text on TFT display?

#4 Post by zristic » 18 Apr 2012 08:19

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.

Post Reply

Return to “Visual TFT General”