version 1.94, 2008/08/08 16:37:13
|
version 1.96, 2008/11/18 19:14:28
|
Line 29
|
Line 29
|
#FIXME LATER assumes multiple possible submissions but only one is possible |
#FIXME LATER assumes multiple possible submissions but only one is possible |
#currently |
#currently |
|
|
|
|
|
=head1 NAME |
|
|
|
Apache::imageresponse |
|
|
|
=head1 SYNOPSIS |
|
|
|
Coordinates the response to clicking an image. |
|
|
|
This is part of the LearningOnline Network with CAPA project |
|
described at http://www.lon-capa.org. |
|
|
|
=head1 SUBROUTINES |
|
|
|
=over |
|
|
|
=item start_imageresponse() |
|
|
|
=item end_imageresponse() |
|
|
|
=item start_foilgroup() |
|
|
|
=item getfoilcounts() |
|
|
|
=item whichfoils() |
|
|
|
=item prep_image() |
|
|
|
=item draw_image() |
|
|
|
=item displayfoils() |
|
|
|
=item format_prior_response() |
|
|
|
=item display_answers() |
|
|
|
=item clean_up_image() |
|
|
|
=item gradefoils() |
|
|
|
=item stringify_submission() |
|
|
|
=item get_submission() |
|
|
|
=item end_foilgroup() |
|
|
|
=item start_conceptgroup() |
|
|
|
=item end_conceptgroup() |
|
|
|
=item insert_foil() |
|
|
|
=item start_foil() |
|
|
|
=item end_foil() |
|
|
|
=item start_text() |
|
|
|
=item end_text() |
|
|
|
=item start_image() |
|
|
|
=item end_image() |
|
|
|
=item start_rectangle() |
|
|
|
=item grade_rectangle() |
|
|
|
=item end_rectangle() |
|
|
|
=item start_polygon() |
|
|
|
=item grade_polygon() |
|
|
|
=item end_polygon() |
|
|
|
=back |
|
|
|
=cut |
|
|
|
|
package Apache::imageresponse; |
package Apache::imageresponse; |
use strict; |
use strict; |
use Image::Magick(); |
use Image::Magick(); |