Supporting DDI Color and Pattern Functions

DDI color and pattern functions include palette management and brush realization functions.