is it possible to make shades of colour inside a region..fillrgn method? etc

andreww
03-14-2002, 06:18 AM
In my program , its a land generator, anyway ive just changed all the coding to make it way more efficient then it was before, so it generates faster

but one problem is my last version could do shades of colours as i was using the line function to draw the landscape, by using the lines i could change the colour bit by bit so it would make shades of colours

now im using create poly region method and the fill region method

i was wondering if there is someway to make shades of colours either using the fill rgn or something else

below are the two land generations

Squirm
03-14-2002, 11:45 AM
Well, the FillRgn function will fill the region with the specified brush passed to the functions. Brushes can be created with the following APIs:


CreateBrushIndirect
CreateDIBPatternBrush
CreateDIBPatternBrushPt
CreateHatchBrush
CreatePatternBrush
CreateSolidBrush


As far as I know there is no 'gradient fill' brush, sorry :(

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum