delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= |
subject:to:references:from:message-id:date:mime-version | |
:in-reply-to:content-type:content-transfer-encoding; s=beta; bh= | |
7Xpr2KNYX+hcq+anunKP/MQZutM1dHJcO6EuDJxWr0s=; b=hrzOvHugOi5OxG4M | |
B3QRpNIVhvNhaHWb/KBUtQbqvIZVXOCAlTBxMpwFGxWEeincKJBdv58wTzpP7xWk | |
D0bnkps98NGgamMryXaN2Wfe5le/TsyHt5wJwp8ZkMEJrff7go+DSUYhEJWH2yxf | |
3WVk5eQIdYbRTi3msoKrhh8C9+s= | |
Subject: | Re: [geda-user] Enable "visible" grid |
To: | geda-user AT delorie DOT com |
References: | <CAGYR9vf=efGQXy7xhh6-PPmv1swo3-42J-d+aLyuso4yHVYZsA AT mail DOT gmail DOT com> |
From: | "Markus Hitter (mah AT jump-ing DOT de) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Message-ID: | <55E47F23.6090702@jump-ing.de> |
Date: | Mon, 31 Aug 2015 18:21:55 +0200 |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 |
Thunderbird/38.2.0 | |
MIME-Version: | 1.0 |
In-Reply-To: | <CAGYR9vf=efGQXy7xhh6-PPmv1swo3-42J-d+aLyuso4yHVYZsA@mail.gmail.com> |
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 |
Am 31.08.2015 um 16:17 schrieb Bernhard Kraft (bkraf0j9 AT gmail DOT com) [via geda-user AT delorie DOT com]: > Is it possible to switch to grid lines or make the grid dot 3x3 > pixels (or 5x5)? Currently only by changing the source code, I fear. In src/hid/common/hidgl.c insert this line before line 155: glPointSize(3.0); The area then reads like this: ... glEnableClientState (GL_VERTEX_ARRAY); glVertexPointer (3, GL_FLOAT, 0, points); glPointSize(3); n = 0; for (x = x1; x <= x2; x += PCB->Grid) { ... That's a hack, of course. If you want a more permanent solution, please open a bug report: https://bugs.launchpad.net/pcb The "right" version would be to define something like a pixel -> screen size scale (resolution), either by a user preference or by querying the operating system, then to define this size not by number of pixels, but by size on screen. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |