func_graphics_pixmaps_clearpixels.rst 522 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .. _func_graphics_pixmaps_clearpixels:
  2. ===========
  3. ClearPixels
  4. ===========
  5. ClearPixels -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. ClearPixels( pixmap:TPixmap,argb=0 )
  10. Clear a pixmap
  11. Sets all pixels in a pixmap to a 32 bit pixel value.
  12. The 32 bit @argb value contains the following components:
  13. [ bits 24-31 | pixel alpha
  14. * bits 16-23 | pixel red
  15. * bits 8-15 | pixel green
  16. * bits 0-7 | pixel blue
  17. ]
  18. Parameters
  19. ==========
  20. Return Values
  21. =============
  22. Nothing.
  23. Examples
  24. ========
  25. See Also
  26. ========