[Mapserver-users] getting coordinates of label
Ballini Yvain
Ballini.Yvain at seat.it
Mon Apr 26 06:18:19 PDT 2004
This is a multi-part message in MIME format.
------_=_NextPart_001_01C42B90.F0FA51DF
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
hello list,
I'm looking in the mapserver souce (version 4.1) where the labeling with
two lines is managed. I would like to get 2 different pairs of
coordinates (one pair for each line) for a label which is written on 2
lines, like : Via S.
Dalmazio
=20
In mapgd.c I get cachePtr->point.x and cachePtr->point.y but if the
label has to be written on 2 lines, I need another pair of coordinates.
I think it's in mapdraw.c or in mapgd.c but I don't find it exactly (may
be there should be an offset definition). Has someone any idea?
Thank you very much !!
=20
Yvain.
=20
=20
------_=_NextPart_001_01C42B90.F0FA51DF
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Mensaje</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004>hello list,</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004>I'm looking in the mapserver souce (version =
4.1) where=20
the labeling with two lines is managed. I would like to get 2=20
different pairs of coordinates (one pair for each line) for a label =
which=20
is written on 2 lines, like : Via S.</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004> &nbs=
p;  =
; =
&=
nbsp; &n=
bsp; Dalmazio</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004></SPAN></FONT> </DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004>In mapgd.c I get <FONT =
size=3D2>cachePtr->point.x and=20
<FONT size=3D2>cachePtr->point.y but if the label has to be written =
on 2 lines,=20
I need another pair of coordinates.</FONT></FONT></SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004>I think it's in mapdraw.c or in mapgd.c but I =
don't=20
find it exactly (may be there should be an offset definition). Has =
someone any=20
idea?</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004>Thank you very much !!</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004></SPAN></FONT> </DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004>Yvain.</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004></SPAN></FONT> </DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D734060513-26042004></SPAN></FONT> </DIV></BODY></HTML>
------_=_NextPart_001_01C42B90.F0FA51DF--
More information about the MapServer-users
mailing list