euphemism

Untitled

Jan 10th, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Procedure SMART_ClearRSCanvasArea(w, h: integer; Position: TPoint);
  2. var
  3. CleanBMP: integer;
  4. Canvas: TCanvas;
  5. begin
  6. CleanBMP := BitmapFromString(w, h, '');
  7. Canvas := TCANVAS.Create;
  8. Canvas.Handle := SmartGetDebugDC;
  9. DrawBitmap(CleanBMP, Canvas, Position.x , Position.y);
  10. try
  11. FreeBitmap(CleanBMP);
  12. except
  13. writeln('Unable to free SMART bitmap.');
  14. end;
  15. end;
Advertisement
Add Comment
Please, Sign In to add comment