← Back to team overview

kicad-developers team mailing list archive

Redraw issue in modedit and Modview with GAL

 

Modedit and Modview have a strange behavior when the main canvas is redrawn.
Something is drawn in the upper left corner of the screen (i.e. form the
center of the main canvas to the left corner of the main window client area.

Could be related to the fact the logical origin and therefore the draw
offset to draw items is not the same for the board editor and for
Modview and Modedit:
in board editor, the draw origin is the upper left corner of the page,
and in Modview and Modedit, the draw origin is the center of the page
(because for footprints, the origin of coordinates is usually the center
of the footprint).


-- 
Jean-Pierre CHARRAS


Follow ups