[Mono-bugs] [Bug 340809] Crash inside Cairo.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 15 10:08:23 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=340809#c6





--- Comment #6 from Sebastien Pouliot <spouliot at novell.com>  2007-11-15 08:08:22 MST ---
Looks like it's not the first time we had scaling problems...

void
ScaleTransform::UpdateTransform ()
{
        double sx = scale_transform_get_scale_x (this);
        double sy = scale_transform_get_scale_y (this);

        // XXX you don't want to know.  don't make these 0.00001, or
        // else cairo spits out errors about non-invertable matrices
        // (or worse, crashes)
        //
        // the 0.0 scales are caused in at least one instance by us
        // being too aggressive at starting animations at time=0 when
        // they're supposed to (unset, or 0:0:0 BeginTime)
        //
        if (sx == 0.0) sx = 0.00002;
        if (sy == 0.0) sy = 0.00002;
..


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list