delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2013/01/11/18:16:16

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:x-received:in-reply-to:references:date:message-id
:subject:from:to:content-type;
bh=RiQwvb4YRP9MDBN1Ge/fZDEUkjsHN4365iiF29reJrY=;
b=JOq8MT6WPUBjEzptoWWRu0GAUHDTAqbaypZUvX18lJrfyEKIlBe2pxn/9WK2Dosy8K
y21yApqWpvU7ZZAmEgQLXTPc5cGb6vRl6rpS9WqUWYNHWXA4Z5+p2ktMAG9MOqfjejUz
yGjx40ahrp6ZFfuS/qItaoGTTNTYa0uUtdZD/DVUoqN77p6+c/g3q2GyBeJ0jYDvPJ7c
hoerOLMKFL8NUMe3Ie8F95t1NwNHamaICD03yUGV/eLWzmFA18685ANS5o5u8uoZzres
VtBs9h8etnbrqJTl24gtSDO5OtrTnKAtMseXtF1Lr7biNELd2IgF4qAhHogZcJwYC0Hp
4VDA==
MIME-Version: 1.0
X-Received: by 10.50.222.232 with SMTP id qp8mr739826igc.25.1357946156492;
Fri, 11 Jan 2013 15:15:56 -0800 (PST)
In-Reply-To: <201301112120.r0BLKLla029311@envy.delorie.com>
References: <CAP3H+HY8K8aXYdua-QF=hRC5LQ3-KQa1FqH24jkthLTwhLwBwA AT mail DOT gmail DOT com>
<201301112120 DOT r0BLKLla029311 AT envy DOT delorie DOT com>
Date: Sat, 12 Jan 2013 01:15:56 +0200
Message-ID: <CAP3H+HY-84+svKxei4q9GDy4eEVwsJZrwV2eZJ_Dcm6JqDeY9A@mail.gmail.com>
Subject: Re: [geda-help] export PCB silkscreen without refdes names
From: Duncan Drennan <duncan DOT drennan AT gmail DOT com>
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> The easiest (only?) way is to hack the sources.  Look in src/draw.c
> starting with DrawEverything()

I see that DrawElementName checks the HIDENAMESFLAG, but
DrawEverything() uses the DrawLayer() function to draw the top and
bottom silk layers for exporting.

I guess one way would be to check the layer name and the HIDENAMESFLAG
and then skip this step in DrawLayer()

/* draw the layer text on screen */
  r_search (Layer->text_tree, screen, NULL, text_callback, Layer);

but that doesn't seem very elegant....too much of a special case in a
generic function.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019