Bixby Sayz Posted July 24, 2012 Share Posted July 24, 2012 Messing around with updating a script to SCAR 3.35. Working on the drawing of a status report to the SMART debug canvas. Currently it creates a background image, creates the text to be drawn as a tpa, then uses FastSetPixel to draw onto the bitmap. Finally it displays the bitmap on the debug canvas in the appropriate place. With the removal of FastGetPixel I'm not quite sure how to write that text onto the bitmap. I also notice FastDrawTransparent is removed as well, which I used to use to draw one bitmap onto another with transparency. Quote Link to comment Share on other sites More sharing options...
FHannes Posted July 24, 2012 Share Posted July 24, 2012 TSCARBitmap.Pixels[X, Y] := Color; Or you can create the bitmap with CreateBitmapFromText or w/e it's called, set it's TranspCol to 0 and use DrawToEx Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted July 25, 2012 Author Share Posted July 25, 2012 Perfect. Gonna take a while to get used to some of the changes. Quote Link to comment Share on other sites More sharing options...
FHannes Posted July 25, 2012 Share Posted July 25, 2012 It's going to take a while, but I've already started documenting the new stuff... http://wiki.scar-divi.com/index.php?title=TSCARClient Quote Link to comment Share on other sites More sharing options...