-
Sep 19th, 2022, 03:08 PM
#1
Thread Starter
PowerPoster
how fill a shape?
using the Polygon() we draw a shape.
but what is the best function for fill, using an image, a Polygon?
the CreatePatternBrush() is for HDC and not for Polygon POINTs.
so what is the best for fill, using an image, a shape?
-
Sep 29th, 2022, 11:30 AM
#2
Re: how fill a shape?
Here is my function for filling single-color sections of any images in the array.
A non-recursive algorithm is used, so there are high performance and no stack overflows .
Fill.zip
Last edited by Mikle; Sep 30th, 2022 at 10:46 AM.
-
Oct 6th, 2022, 02:49 PM
#3
Thread Starter
PowerPoster
Re: how fill a shape?
i need more than that and learn how to fill a polygon
i'm doing it with other way... pixel- to-pixel(DIB's)
but seems limited
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|