Coloring using GDI

Started by
4 comments, last by edd1986 18 years, 4 months ago
Hiya, i'm trying to find out how to fill an area with color using GDI. i have found functions to fill certain shapes but what i cannot find is how to fill an area designated by a set of co-ordinates i input. Thanks in advance.
Advertisement
Look into Regions.

xeddiex
one..
You can use a set of coordinates to create a box/square and use the fill function
JUST-CODE-IT.NETManaged DirectX & C# TutorialsForumsArticlesLinksSamples
Also try
Graphics.FillPolygon(Brush brush, Point[] points)
Polygon is probably the easiest way.
-Mike
thanks for the help:)

This topic is closed to new replies.

Advertisement