Re: Bitmap clearing

new topic     » goto parent     » topic index » view thread      » older message » newer message

> If I have a win32lib pixmap, what is the quickest/easiest way to clear all of
> it to a given background color?

... simply:
  setPenColor(yourPix, yourColor)
  drawRectangle(yourPix, 1, 0, 0 ,x_size, y_size)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu