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...
Submitted On | 2001-10-03 14:03:08 |
By | Meltdown Charlie |
Level | Intermediate |
User Rating | 5.0 (10 globes from 2 users) |
Compatibility | VB 4.0 (32-bit), VB 5.0, VB 6.0 |
Category | Graphics |
World | Visual Basic |
Archive File | Complex Ma274341032001.zip |
Shows 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()