← Back to team overview

kicad-developers team mailing list archive

Re: Did you change something in the drawing code?

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/13/2010 07:22 PM, Lorenzo Marcantonio wrote:
> Today I noticed some drawing artifacts in pcbnew (lines going offscreen
> to the bottom right); it seems some kind of
> overflow/truncation/whatever bug on coordinates.
> 
> For a reproducible issue try this: center the screen on the 0,0 point
> (the top left page border). The gray border goes to the right and to the
> bottom (correctly). Zoom in and you'll see that lines sometimes go up
> and left! It could be an int overflow, probably a float casted down too
> soon.
> 
I don't see anything unusual (BZR2541). I can see the lines going left
and up, if I move the mouse to the fourth quadrant and zoon in, but
that's just because the coordinates under the mouse become the new
screen center.

I doubt this is what you're reporting. Could you be a little more
explicit about the problem?

Alex

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMteJPAAoJEL0kPHNPXJJKrEwQAIclZrlbd//+qkx6qP2oTJbR
T3wLQSJkuqdk1pa3+pMfOSiIyAwP8PgLBU7revrZCno04TojFW3WoWTzYg9GQMxy
kNkYxxe/yW7h5vrFm98HcLHHltWTmhe29NF+tGUCZVYmhutHMqPqhgcZxo3n7HH4
YX89Sb3R2bO8BVSNeZbErsyJnx3YJIvPApkaxfj8ueYiPMTvl8IGTEt14lF0QXlI
BmseCHafjUfo42n29nf0yoMp41xvSqTCcqwrUaO6Xd9uRyLIsDndrsZncJlQAYmQ
TZeNY81mklnMSEW/cEYoYEET9xvRp4hOf4L48wiiOnPhrf9dJppoQ7UR0QpvAHq2
ruBLWJ6DoLKURlo8TF8jbz6k+2+CPQwmjFJvcq7a3Kwf5wTFRwSZebK2bYxjSaMb
eL41AI3sW7zmR6nOuTCicNUf5liiSqMfJ82WKhUql1cynBFrKlZDGfpS/uGF+ipb
4D7GJ6OEgnbe846qVNLSfBoNRRDDqQNWkY9OSkQIz9ib79N8CsPMHYfEU9MHGD+X
xIq+xIvR6eoAHxNJ/uhD5UWL0qUIpk2t8DFnqtT9Hexix+4GXo2eKPDYg7M2mFFv
h3/uek0w5whzXR4uxVYPVHCPdxfEG/EyWSbFJXvCZzhQJgvxC5N7eqiEJ6hPsFiQ
QwnXFPhHPvbVYsHVsK1B
=0ksg
-----END PGP SIGNATURE-----



Follow ups

References