I'm drawing (asin /drawtext) a Times New Roman message into a custom picture window.
I use a /drawtext to write the text and then /drawtext with the color of the background to erase the text and write over it.
Here is a demonstration of what happens if /drawtext is used several times in this manner. Look carefully.
In this window, whose function is similar to a nicknames' list (in this particular case, it HAS to be a picture window), my nickname has been moved up one slot and replaced with another. Basically, several pixels from the original message/text is left over after one such erase attempt.
I may be mistaken, but by drawing the SAME message with the SAME size in the SAME font with the background color would normally completely erase the previous word.
Here is a sample of the code that seems to be "exposing" this issue.
/drawtext @Paradigm 1 "Times New Roman" 12 7 272 121 15 MegaZeroX
/drawtext @Paradigm 0 "Times New Roman" 12 7 272 121 15 MegaZeroX
To be honest, I wouldn't think this is a coding error at all. I'm more worried that this is a "Times New Roman stinks" kind of error that can only be corrected with multiple erases to insure the previous text is completely gone. If there was another way to quickly erase text (preferrably without /drawrect or /drawfill because I think those are slower), I'd be happy to listen.
If anyone has any suggestions on how I might be able to fix this problem or make a simple ERASE function as such work more efficiently, I would be grateful. (one last note: I am using mIRC 6.03.)