bool HitTest(int tx, int ty)
        {
            if (!NavigateScanline(ty))
            {
                return(false);
            }

            uint numStyles = SweepStyles();

            if (numStyles <= 0)
            {
                return(false);
            }

            ScanlineHitTest sl = new ScanlineHitTest(tx);

            SweepScanline(sl, -1);
            return(sl.hit());
        }
        bool HitTest(int tx, int ty)
        {
            if (!NavigateScanline(ty))
            {
                return false;
            }

            uint numStyles = SweepStyles();
            if (numStyles <= 0)
            {
                return false;
            }

            ScanlineHitTest sl = new ScanlineHitTest(tx);
            SweepScanline(sl, -1);
            return sl.hit();
        }