Registered by: | n/a
Index: 09_appendix/action_reference.html
===================================================================
--- 09_appendix/action_reference.html (revision 31613)
+++ 09_appendix/action_reference.html (revision 31614)
@@ -13,7 +13,7 @@
-This is pcb-rnd 2.2.1 (svn r31539) an interactive printed circuit board editor , Revision: 31612
+This is pcb-rnd 2.2.1 (svn r31539) an interactive printed circuit board editor , Revision: 31613
Action | Description | Syntax | Plugin
| About | Present the about box | About() | dialogs plugin |
@@ -158,7 +158,7 @@
GetStyle | Return integer index (>=0) of the currently active style or -1 if no style is selected (== custom style) | GetStyle() | |
GetValue | Convert a coordinate value. Returns an unitless double or FGW_ERR_ARG_CONV. The 3rd parameter controls whether to require relative coordinates (+- prefix). Wraps rnd_get_value_ex(). | GetValue(input, units, relative, default_unit) | act_read |
GetXY | Get a coordinate. If x or y specified, the return value of the action is the x or y coordinate. | GetXY([message, [x|y]]) | |
- GfxMod | Modify a gfx object: set transparent pixel on the pixmap or resize by measurement | GfxMod(transparent, [idpath, [#rrggbb]]) GfxMod(transparent, [idpath, [x, y]]) GfxMod(resize, [idpath, [pdx, pdy1, len]]) | |
+ GfxMod | Modify a gfx object: set transparent pixel on the pixmap or resize by measurement | GfxMod(transparent, [idpath, [#rrggbb]]) GfxMod(transparent, [idpath, [x, y]]) GfxMod(resize, [idpath, [pdx, pdy1, len]]) | |
GlobalPuller | Pull all traces tight. With no argument it runs on the current layer. | pcb_act_GlobalPuller([Found|Selected]) | puller plugin |
Grid | Set the grid. | grid(set, [name:]size[@offs][!unit]) grid(+|up) grid(-|down) grid(#N) grid(idx, N) | |
GroupPropGui | Change group flags and properties | GroupPropGui(groupid) | dialogs plugin |
Index: 09_appendix/action_src/gfxmod.html
===================================================================
--- 09_appendix/action_src/gfxmod.html (nonexistent)
+++ 09_appendix/action_src/gfxmod.html (revision 31614)
@@ -0,0 +1,8 @@
+Commands:
+
+ - transparent, no more args: interactive way for the user to specify the transparent color by a click
+
- transparent, idpath, #rrggbb: specify transparent color
+
- transparent, idpath, px, py: specify transparent color by pixel coordinates within the pixmap
+
- resize, no more args: interactive resizer where the user clicks on two points of the pixmap on screen and specifies the real disatnce between them and the code resizes the pixmap to match that
+
- resize, idpath, pdx, pdy, len: resize pixmap so that pixel distance pdx;pdy will match len coord units
+
|
---|