News item 2012/4/22/182

   
The Code Snippets database has had a small, but overdue, update
The online Code Snippets database has been updated with two new graphics routines and two new type definitions. The first routine is ContrastingColor that selects either a black or white foreground colour that contrasts with a given background. The second routine is CountColors that counts the number of unique colours in a 24 bit bitmap. The new types support working with 24 bit and 32 bit scanlines. Other than that a few types and some constants that relate to graphics routines have been moved from the Types and Constants categories into Graphics.
22 April 2012