← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Option to subtract soldermask from silkscreen in gerber output

 

Le 10/12/2010 15:37, Dick Hollenbeck a écrit :

On 12/09/2010 05:51 PM, Marco Mattila wrote:
Drawing the negative layer last is not correct, since it erases
everything below the negative objects in all layers. The attached
patch seems to do the trick right. All layers (=layers as they are
seen in gerbview, not individual layers in a gerber file) are first
drawn into a bitmap and negative objects are drawn in background
color. Then the bitmap itself is used as a mask in blitting the bitmap
onto the screen.

marco


I should be able to get a look at this over the weekend.

Dick


I just tried it (but not tested it very well):
Seems work when compiled with option USE_WX_ZOOM=OFF
But does not draw anything when using USE_WX_ZOOM=ON
(at least under Windows, I did not have the time to tried it under Linux)


--
Jean-Pierre CHARRAS
KiCad Developers team.
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>



References