[LON-CAPA-cvs] cvs: loncom /homework randomlylabel.pm
raeburn
raeburn at source.lon-capa.org
Tue Apr 9 14:47:23 EDT 2024
raeburn Tue Apr 9 18:47:23 2024 EDT
Modified files:
/loncom/homework randomlylabel.pm
Log:
- Remove trailing white space.
Index: loncom/homework/randomlylabel.pm
diff -u loncom/homework/randomlylabel.pm:1.36 loncom/homework/randomlylabel.pm:1.37
--- loncom/homework/randomlylabel.pm:1.36 Fri Apr 5 04:05:08 2024
+++ loncom/homework/randomlylabel.pm Tue Apr 9 18:47:23 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# randomlabel.png: composite together text and images into 1 image
#
-# $Id: randomlylabel.pm,v 1.36 2024/04/05 04:05:08 raeburn Exp $
+# $Id: randomlylabel.pm,v 1.37 2024/04/09 18:47:23 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -94,7 +94,7 @@
x1:y1:x2:y2:color:thickness
-=item RECTANGLE
+=item RECTANGLE
x1:y1:x2:y2:color:thickness:filled
@@ -120,7 +120,7 @@
=over 4
-=item srcX,srcY,srcW,srcH
+=item srcX,srcY,srcW,srcH
the start and extant of the region in file to copy to x,y with width/height
destW destH
@@ -158,7 +158,7 @@
color:width:open:filled
-=over 4
+=over 4
=item open
@@ -177,7 +177,7 @@
=over 4
-=item POLYGON
+=item POLYGON
a list of coords in the form
@@ -213,7 +213,7 @@
use Apache::lonnet;
use lib '/home/httpd/lib/perl/';
use LONCAPA;
-use LONCAPA::LWPReq;
+use LONCAPA::LWPReq;
#
# Note: Math::Trig is included in the standard perl package for many distros.
@@ -392,7 +392,6 @@
$polygon->addPt($x,$y);
$added++;
}
-
$image->setThickness($width);
if ($added) {
if ($open && lc($open) ne 'no') {
More information about the LON-CAPA-cvs
mailing list