[QTI] Re: Origin of Coords
Marina Zelwer
marina.zelwer at univ-st-etienne.fr
Wed Oct 4 13:57:44 BST 2006
Thanks for your answer.
I finally found some information in here (I was previously looking in
XHTML1 doc and couldn't find it) :
http://www.w3.org/TR/xhtml2/mod-csImgMap.html#s_csImgMapmodule
"coords = Coordinates
This attribute specifies the position and shape of the area. The
number and order of values depends on the value of the shape attribute.
Possible combinations:
* rect: left-x, top-y, right-x, bottom-y.
* circle: center-x, center-y, radius. When the radius value is
a percentage, the actual radius value is calculated using the associated
image's width and height. The radius is then the smaller value of the two.
* poly: x1, y1, x2, y2, ..., xN, yN. If the first and last x
and y coordinate pairs are not the same, user agents must infer an
additional coordinate pair to close the polygon.
Coordinates are relative to the top, left corner of the object. All
values are of type Length. All values are separated by commas. The
coordinates of the top, left corner of an area are 0, 0."
As it is said in the QTI documentation that they want to stay compliant
with the XHTML specification for the coords and shape attributes I
suppose this information above also applies to QTI coords attribute.
Best regards
Marina
Engin Koc a écrit :
> Dear Marina
> I havent seen a real example but as far as I know, when we use x0 with
> <mattext> we define the coords according to the left bottom of the page
> so I believe it is the same for any specific place on an image object.
> Best Regards
> Engin Koc
>
>
>
>
> Today's Topics:
>
> 1. origin for coords (Marina Zelwer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 04 Oct 2006 12:40:48 +0200
> From: Marina Zelwer
> Subject: [QTI] origin for coords
> To: "IMS Question & Test Interoperability"
>
> Message-ID: <45238FB0.2050909 at univ-st-etienne.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> I'm working on selectPointInteraction and I didn't manage to find
> how we
> can know to which origin the coords apply. Is it the left-top corner of
> the image object ? The left-bottom ?
>
> Best regards,
> Marina
>
>
>
> ------------------------------
>
> _______________________________________________
> IMS-QTI mailing list
> IMS-QTI at lists.ucles.org.uk
> http://lists.ucles.org.uk/lists/listinfo/ims-qti
>
>
> End of IMS-QTI Digest, Vol 27, Issue 2
> **************************************
>
>
> ------------------------------------------------------------------------
> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call
> rates.
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>
>
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> IMS-QTI mailing list
> IMS-QTI at lists.ucles.org.uk
> http://lists.ucles.org.uk/lists/listinfo/ims-qti
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
--
Marina Zelwer
Centre Commun Multimédia C2M
Université Jean Monnet
2, rue Tréfilerie,
42023 Saint Etienne
Tel : 04.77.42.16.17
More information about the IMS-QTI
mailing list