PureBasic 4.40 bêta 2 disponible
Le 2009-08-18 05:00:09, par comtois, Responsable Purebasic
Une bonne partie des bogues signalés lors de la bêta 1 sont corrigés (pas tous) et quelques changements dans cette nouvelle bêta, dont le plus important est sans doute l'intégration de PostgreSQL :
Cette version est disponible sur votre compte.
Les informations sur la bêta 1 se trouvent ici
- 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 : |
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