Skip to content

Drawing bug #47

Description

@xdelatour

While doing some tests i found this:

fvdi-bug

I don't know where the problem comes from. Is it caused by a single function or by the combination of several?

	wind_get (hwind, WF_WORKXYWH, &xw, &yw, &ww, &hw);	/* Zone de travail */
	pxy[0] = xw;                				/* Preparer effacement fenetre */
	pxy[1] = yw;
	pxy[2] = xw + ww - 1;
	pxy[3] = yw + hw - 1;
	vswr_mode (handle, MD_REPLACE);  		 	/* Dessin en mode Remplacement */
	vsf_color (handle, 0);            			/* Couleur blanche */
	v_bar (handle, pxy);              			/* "Vider" la fenetre */
	vsf_color (handle, 1);					/* Couleur noire */
	vsf_perimeter (handle, 1);				/* Tracer le contour */

	...

	case T_ELL :						/* Ellipses */
		vsf_interior (handle, FIS_HOLLOW);		/* Vide */
		vsf_perimeter(handle, 1);
		vswr_mode (handle, MD_TRANS);			/* Mode transparent */
		for (i = 0 ; i < hw ; i += 3)			/* Boucle de dessin */
			v_ellipse (handle, xw + (ww / 2), yw + (hw / 2), i , (hw / 2) - i); /* Ellipse */
		break;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions