How can i display text on image at specific co-ordinate position X & Y ??? | developer.brewmp.com How can i display text on image at specific co-ordinate position X & Y ??? | developer.brewmp.com

Developer

How can i display text on image at specific co-ordinate position X & Y ???

How can i display text on image at specific co-ordinate position X & Y ???

Hi passionpatel,
First draw the image and then update the screen and then write the text;
IIMAGE_Draw();
IDISPLAY_Update();
IDISPLAY_DrawText();
IDISPLAY_Update();

Hi passionpatel,
First draw the image and then update the screen and then write the text;
IIMAGE_Draw();
IDISPLAY_Update();
IDISPLAY_DrawText();
IDISPLAY_Update();

Hi braghavendrap,
thanx for reply...
Actually i am using UiWidget with which its not possible to use API that u have written.
Nonetheless, later on i find the solution...
i used IXYContainer in which first i add imageWidget and after that i add static widget...

Hi braghavendrap,
thanx for reply...
Actually i am using UiWidget with which its not possible to use API that u have written.
Nonetheless, later on i find the solution...
i used IXYContainer in which first i add imageWidget and after that i add static widget...

Bravo! It is indeed a GREAT solution!
However, the UI widgets seems not quite comaptiable with the old drawing method(if use them at the same time on one screen), it always clip the drawing area and make the screen broken, Is there anyone who experienced it? Any suggestion? Thanks :)

Bravo! It is indeed a GREAT solution!
However, the UI widgets seems not quite comaptiable with the old drawing method(if use them at the same time on one screen), it always clip the drawing area and make the screen broken, Is there anyone who experienced it? Any suggestion? Thanks :)

If you need to mix normal BREW drawing with widgets, use an IDrawDecorator to do the drawing.
-Erik

If you need to mix normal BREW drawing with widgets, use an IDrawDecorator to do the drawing.
-Erik

Your answer helps much~

Your answer helps much~