예제 #1
0
void _HYPlatformGraphicPane::_ErasePolygon (Ptr rgn)
{
    if (rgn) {
        gdk_gc_set_foreground (theContext,&saveBG);
        _FillPolygon (rgn);
        gdk_gc_set_foreground (theContext,&saveFG);
    }
}
예제 #2
0
void _HYGraphicPane::FillPolygon (_SimpleList& r)
{
	Ptr p = _DefinePolygon (r);
	_FillPolygon (p);
	_KillPolygon (p);
}