kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01417
Re: GetBoundingBox and redrawing / XOR-Artifacts / Dangling ends
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Jonas Diemer <diemer@...>
-
Date:
Thu, 3 Apr 2008 20:23:16 +0200
-
In-reply-to:
<47F15053.9030903@...>
-
User-agent:
KMail/1.9.6 (enterprise 0.20070907.709405)
Am Montag 31 März 2008 22:57:55 schrieb Dick Hollenbeck:
> One piece of code that we need to test is the commented out lines in
>
> eeschema/eeredraw.cpp's
>
> void RedrawStructList( WinEDA_DrawPanel* panel, wxDC* DC,
> Â Â Â Â Â Â Â Â Â Â Â Â EDA_BaseStruct* Structs, int DrawMode, int Color )
>
>
> This will put the final cap on the redraw optimization. Â It will also
> have the effect of not drawing anything that does not have a proper
> GetBoundingBox() that returns a rectangle that intersects with the dirty
> rectangle. Â So it is another way to test that we have all the required
> GetBoundingBox implementations in place. Â Because if not, there will be
> parts of the screen that will not get drawn at all with these lines
> uncommented.
>
>
> Jonas, it would be great if you could test these lines!
I just tried these lines, they don't seem to work. At first sight, it looks
like panel->m_ClipBox is too small.
Jonas
Follow ups
References