X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=bc291940dmo0Yi9Y2RA26xguSOwegGEcYWcO6NssvJI=; b=Vqxrs34zZk9lJ5b1hFRUK0/SiZ3898AVp02JPkkqOPZ2FyXXuygYxNEIJF1arFjMMi J6j3ukMvwlPTb85EysA7SdBMPbGP0b/Ks+bdCjsxPKl0qCHsf0qMDy8ReJzv6W4AC/Hs zZ5YFSLjPateN1Ew8tVWlAYiV9JtS8ibKoUqdlEBTA2Gv1AJzFEhuDkybOFle0qf4NMS DAptSHZTCLEKdeMtFmfp7sWKv3QVTLagdaPt1vY9fb8C3yuASaTuo+Y75oKR9Y39AIUx zmt8Gh8Da512UhB+TSdyx7jTh6pP+n3TI6imAvjLpjpRw6EKa7GV5KWL5IKDQUYOVWO7 FLlA== MIME-Version: 1.0 X-Received: by 10.52.231.130 with SMTP id tg2mr20561948vdc.84.1375089273057; Mon, 29 Jul 2013 02:14:33 -0700 (PDT) In-Reply-To: <20130724164522.311d7f3d@warrawoona.sti> References: <20130724164522 DOT 311d7f3d AT warrawoona DOT sti> Date: Mon, 29 Jul 2013 13:14:32 +0400 Message-ID: Subject: Re: [geda-user] Redundant drawing functions in libgedacairo From: Vladimir Zhbanov To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r6T9Ebcp032387 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk AIUI, it is made to let developers change any primitive independently of others. gschem and libgeda have always had kind of object oriented structure and new gEDA libraries and programs just follow it. 2013/7/24, Alexey Shaposhnikov : > > While hacking libgeda i found, that functions eda_renderer_draw_line, > eda_renderer_draw_net, eda_renderer_draw_bus and eda_renderer_draw_pin in > libgedacairo actually repeat each other. The only difference is that the > first > function takes the values for ​​line width, cap style, dash style and dash > length from object properties, while others use a hard-coded values > (despite > all those properties can be set while creating pin, bus or net object). > > Did i miss something? > > -- > With best regards, Alexey Shaposhnikov. > > >