- Added UsePostgreSQLDatabase()
- Changed FillMemory() to FillMemory(*Memory, Size [, Value [, Type]])
- Removed the "UserData" parameter from CustomGradient() and its callback (to fit the other PB callbacks)
- Added #PB_2DDrawing_CustomFilter drawing mode (ImageOutput only)
- Added CustomFilterCallback()
- Added AlphaBlend(Color1, Color2) - blend two 32bit colors
The #PB_2DDrawing_CustomFilter redirects drawing operations to a callback. It can decide how the source color is put over the target color for every pixel. This mode can be combined with #PB_2DDrawing_Gradient. The callback looks like this:
- Changed FillMemory() to FillMemory(*Memory, Size [, Value [, Type]])
- Removed the "UserData" parameter from CustomGradient() and its callback (to fit the other PB callbacks)
- Added #PB_2DDrawing_CustomFilter drawing mode (ImageOutput only)
- Added CustomFilterCallback()
- Added AlphaBlend(Color1, Color2) - blend two 32bit colors
The #PB_2DDrawing_CustomFilter redirects drawing operations to a callback. It can decide how the source color is put over the target color for every pixel. This mode can be combined with #PB_2DDrawing_Gradient. The callback looks like this:
Code : | Sélectionner tout |
1 2 3 | Procedure FilterCallback(x, y, SourceColor, TargetColor) ProcedureReturn AlphaBlend(SourceColor, TargetColor) ; this would emulate the #PB_2DDrawing_AlphaBlend mode EndProcedure |
Les informations sur la bêta 1 se trouvent ici