RGB and RGBA

Forum for discussion about the documentation project.
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: RGB and RGBA

Post by fxm »

fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: RGB and RGBA

Post by fxm »

badidea wrote:And on Paint ?
Function paint_pixel( ByVal c As UInteger, ByVal bit_depth_ As Integer ) As String
Dim As UInteger c, c1, c2, cb
Done:
KeyPgPaint → fxm [In 2nd example, data-type changes from UINTEGER to ULONG for pixel color values]

The rest:
badidea wrote:Also the example on Putgraphics right?
Function checkered_blend( ByVal src As UInteger, ByVal dest As UInteger, ByVal param As Any Ptr ) As UInteger

And on TransGfx ?
Function trans32 ( ByVal source_pixel As UInteger, ByVal destination_pixel As UInteger, ByVal parameter As Any Ptr ) As UInteger
can only be done if the change for:
#927 Custom Blend Function uses incorrect data-type for pixel values (parameters and return)
is accepted and coded.
Post Reply