by Meltdown Charlie (6 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
How to create and manage complex mask selections in a graphics app written in vb. You can select your mask with rectangle, ellipse, polygon, paint brush and wand tools and build it up progressively. Each tool can be used in either additive or subtractive mode...
API DeclarationsShows how to use many of the region api's including :
- CombineRgn()
- GetRegionData()
- CreateRectRgn()
- CreateEllipticRgn()
- CreatePolygonRgn()
- FillRgn()
- ExtCreateRegion()
- FrameRgn()
Also shows how to use the brush apis to create two custom brushes for
a marching ants effect.
- CreateBrushIndirect()
- CreatePatternBrush()