libgeda
|
Scheme API complex object manipulation procedures. More...
#include <config.h>
#include "libgeda_priv.h"
#include "libgedaguile_priv.h"
#include "scheme_complex.x"
Go to the source code of this file.
Functions | |
SCM_DEFINE (make_complex,"%make-complex", 1, 0, 0,(SCM basename_s),"Create a new complex object.") | |
Create a new complex object. | |
SCM_DEFINE (make_complex_library,"%make-complex/library", 1, 0, 0,(SCM basename_s),"Instantiate a complex object from the component library.") | |
Instantiate a complex object from the component library. | |
SCM_DEFINE (set_complex_x,"%set-complex!", 6, 0, 0,(SCM complex_s, SCM x_s, SCM y_s, SCM angle_s, SCM mirror_s, SCM locked_s),"Set complex object parameters") | |
Set complex object parameters. | |
SCM_DEFINE (complex_info,"%complex-info", 1, 0, 0,(SCM complex_s),"Get complex object parameters.") | |
Get complex object parameters. | |
SCM_DEFINE (complex_contents,"%complex-contents", 1, 0, 0,(SCM complex_s),"Get complex object contents.") | |
Get the contents of a complex object. | |
SCM_DEFINE (complex_append_x,"%complex-append!", 2, 0, 0,(SCM complex_s, SCM obj_s),"Add a primitive object to a complex object") | |
Add a primitive object to a complex object. | |
SCM_DEFINE (complex_remove_x,"%complex-remove!", 2, 0, 0,(SCM complex_s, SCM obj_s),"Remove a primitive object from a complex object") | |
Remove a primitive object from a complex object. | |
static void | init_module_geda_core_complex () |
Create the (geda core complex) Scheme module. | |
void | edascm_init_complex () |
Initialise the basic gEDA complex object manipulation procedures. |
Definition in file scheme_complex.c.
SCM_DEFINE | ( | make_complex | , |
"%make-complex" | , | ||
1 | , | ||
0 | , | ||
0 | , | ||
(SCM basename_s) | , | ||
"Create a new complex object." | |||
) |
Definition at line 41 of file scheme_complex.c.
SCM_DEFINE | ( | make_complex_library | , |
"%make-complex/library" | , | ||
1 | , | ||
0 | , | ||
0 | , | ||
(SCM basename_s) | , | ||
"Instantiate a complex object from the component library." | |||
) |
Searches the component library for a component with the given basename. If found, creates a new complex object by instantiating that library component. It is initially set to be unembedded. If no match is found for basename in the library, returns SCM_BOOL_F.
basename | component name to search for in the component library. |
Definition at line 77 of file scheme_complex.c.
SCM_DEFINE | ( | set_complex_x | , |
"%set-complex!" | , | ||
6 | , | ||
0 | , | ||
0 | , | ||
(SCM complex_s, SCM x_s, SCM y_s, SCM angle_s, SCM mirror_s,SCM locked_s) | , | ||
"Set complex object parameters" | |||
) |
complex_s | the complex object to modify. |
x_s | the new x-coordinate of the complex object. |
y_s | the new y-coordinate of the complex object. |
angle_s | the new rotation angle. |
mirror_s | whether the complex object should be mirrored. |
locked_s | whether the complex object should be locked. |
Definition at line 123 of file scheme_complex.c.
SCM_DEFINE | ( | complex_info | , |
"%complex-info" | , | ||
1 | , | ||
0 | , | ||
0 | , | ||
(SCM complex_s) | , | ||
"Get complex object parameters." | |||
) |
complex_s | the complex object to inspect. |
Definition at line 191 of file scheme_complex.c.
SCM_DEFINE | ( | complex_contents | , |
"%complex-contents" | , | ||
1 | , | ||
0 | , | ||
0 | , | ||
(SCM complex_s) | , | ||
"Get complex object contents." | |||
) |
complex_s | a complex object. |
Definition at line 218 of file scheme_complex.c.
SCM_DEFINE | ( | complex_append_x | , |
"%complex-append!" | , | ||
2 | , | ||
0 | , | ||
0 | , | ||
(SCM complex_s, SCM obj_s) | , | ||
"Add a primitive object to a complex object" | |||
) |
complex_s | complex object to modify. |
obj_s | primitive object to add. |
Definition at line 243 of file scheme_complex.c.
SCM_DEFINE | ( | complex_remove_x | , |
"%complex-remove!" | , | ||
2 | , | ||
0 | , | ||
0 | , | ||
(SCM complex_s, SCM obj_s) | , | ||
"Remove a primitive object from a complex object" | |||
) |
complex_s | complex object to modify. |
obj_s | primitive object to remove. |
Definition at line 308 of file scheme_complex.c.
static void init_module_geda_core_complex | ( | ) | [static] |
Definition at line 380 of file scheme_complex.c.
void edascm_init_complex | ( | ) |
Definition at line 398 of file scheme_complex.c.