CSC 195.01 2013S Technologies for Mediascripting
[Skip to Body]
Primary:
[Front Door]
[Schedule]
-
[Academic Honesty]
[Disabilities]
[Instructions]
[Teaching and Learning]
Groups:
[Handouts]
[Outlines]
(Current Outline)
[EBoards]
(Current EBoard)
[Examples]
Misc:
[SamR]
[EBook]
[GNU Coding Standards]
Back to Class 10: GIMP Internals (2): Manipulating Pixels. On to Class 12: GIMP Internals (4): More Behind the Scenes.
This outline is also available in PDF.
Held: Thursday, 18 April 2013
Summary: We consider how to write functions that are more naturally callable by other PDB functions.
Related Pages:
Overview:
interestingfunction or set of functions.
Overview:
GIMP_PDB_INT32,
GIMP_PDB_FLOAT,
GIMP_PDB_STRING
data.d_int32,
data.d_float,
data.d_string
results[1].type = GIMP_PDB_FLOAT; results[1].data.d_float = 3.14;
gimp_run_procedure or
gimp_run_procedure2.
GimpParam* gimp_run_procedure (const gchar *name, gint *n_return_vals, ...);
GimpParam* gimp_run_procedure2 (const gchar *name, gint *n_return_vals,
gint n_params,
const GimpParam *params);
square, that takes one
integer as a parameter. We can call it with
GimpParam *returned;
int nreturned;
returned = gimp_run_procedure ("square", &nreturned; GIMP_PDB_INT32, 5, GIMP_PDB_END);
GimpParam newparams[] = { { GIMP_PDB_INT32, 5 } };
returned = gimp_run_procedure ("square", &nreturned, 1, newparam);
gimp_procedural_db_proc_info
gimp_procedural_db_query
[Skip to Body]
Primary:
[Front Door]
[Schedule]
-
[Academic Honesty]
[Disabilities]
[Instructions]
[Teaching and Learning]
Groups:
[Handouts]
[Outlines]
(Current Outline)
[EBoards]
(Current EBoard)
[Examples]
Misc:
[SamR]
[EBook]
[GNU Coding Standards]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Wed May 1 10:51:47 2013.
The source to the document was last modified on Mon Jan 21 13:59:23 2013.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CSC195/2013S/outline.11.html.
You may wish to
validate this document's HTML
;
;
http://creativecommons.org/licenses/by-nc/3.0/
or send a letter to Creative Commons, 543 Howard Street, 5th Floor,
San Francisco, California, 94105, USA.