Message 1 of 5
Grip Colors and AcDbGripData::setWorldDraw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Within the callback function set by AcDbGripData::setWorldDraw you can draw the glyph for a custom grip.
If you do not set colors the default grip colors set at the AutoCAD's options dialog are used except GRIPCONTOUR color.
For example lets say I draw a small filled rectangle for the grip. I first use
pWd->subEntityTraits().setFillType(kAcGiFillAlways); to enable filled graphics and then I draw a polygon geometry using pWd->geometry().polygon(4,pts); however the resulting grip that way is filled with that grip color from the options dialog and the same color is used for its boundary line as well.
How can you use GRIPCONTOUR color for the boundary line of the grip?
Thanks
Anastassios