fontBlends.bmx 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. 'This BMX file was edited with BLIde ( http://www.blide.org )
  2. rem
  3. bbdoc:This class has a list of all available blend modes for bitmap fonts.
  4. end rem
  5. Type EConstBlend Final
  6. rem
  7. bbdoc: This Blend mode will draw images respecting the alpha channel.<br>This is the default blend mode for bitmap fonts.
  8. end rem
  9. Const Alpha:Int = Alphablend
  10. rem
  11. bbdoc: This Blend mode will draw images using light information on the pixels to combine them to the backbuffer.
  12. end rem
  13. Const Light:Int = LightBlend
  14. rem
  15. bbdoc: This Blend mode will draw images overwriting directly any existing pixel in the backbuffer.
  16. end rem
  17. Const Solid:Int = SolidBlend
  18. rem
  19. bbdoc: This Blend mode will draw images solid images.<br>Any alpha value will be rounded to 1 or 0.
  20. end rem
  21. Const Mask:Int = MaskBlend
  22. rem
  23. bbdoc: This Blend mode will draw images using dark information on the pixels to combine them to the backbuffer.
  24. end rem
  25. Const Shade:Int = ShadeBlend
  26. rem
  27. bbdoc: This function return the active blend mode in the active graphic context.
  28. end rem
  29. Function GetCurrent:Int()
  30. Return GetBlend()
  31. End Function
  32. End Type