05-25-2010, 09:34 AM
brianmount Wrote:Can you give a little more detail about the note in the protocol specification about needing to decrease the bounding rectangle before drawing blurred text to avoid clipping? Am I supposed to change the font size as well? Are the suggested insets independent of the font size?
You don't need to change the font size. But, the bounding area of the widget shouldn't be drawn outside of. So if you are blurring by, say, 4 pixels, you'll have to adjust the left/right or top/bottom position by that much to correctly justify the text against that edge, since now the edge of the blur is the edge of the text, not the edge of the text itself.
It's somewhat of a by eye adjustment.
Quote:Regarding the odd bitmap modes, I don't know what the graphic format is. Rob forwarded me the files as they exist on the CQC server, but my graphics program isn't able to decipher them. The server must be prepending some sort of data to the file or something. And Rob doesn't think he has the originals any longer. If we send you the CQC-ified files, would that enable you to tell what the format is?
The test will be, are you getting any DrawBitmapMasked commands. That only happens when color based transparency is used, and that's the one that's not really being done right.
Dean Roddey
Explorans limites defectum
Explorans limites defectum