I need to have a background picture (gif) that fills the LCD. I need to overlay some dynamic text (ex: a counter) on top of the background image. What is the quickest way to set something like this up?
Buffer it. 1 bitmap housing the image. A second bitmap that you draw the first image onto, then the text, then flush the second image.
Do you mean generate text like this? I’m not sure if this is a bitmap, per se:
text = new Text();
text.Font = Resources.GetFont(Resources.FontResources.sego32);
text.TextContent = Resources.GetString(Resources.StringResources.String1) + "\n" + Resources.GetString(Resources.StringResources.String2);
text.HorizontalAlignment = Microsoft.SPOT.Presentation.HorizontalAlignment.Center;
text.VerticalAlignment = Microsoft.SPOT.Presentation.VerticalAlignment.Center;
text.TextWrap = true;
Oh, sorry you’re using WPF; I thought you were using native graphics like Glide/Pyxis/Gadgetos.
Well ok, if you put up a picture, from a gif file—I want to set it as the full background & then have text, counters, etc on top of it—there should be no border/boz around the text.