C# rectObj -- image rectangle and the method fit(x,y)

Zhonghai Wang zhonghaiw at GMAIL.COM
Wed Aug 8 08:38:45 EDT 2007


Hi folks,

I am using now the latest beta version MapServer C# wrapper. I remember that
creating an image rectangle object with the old version wrapper, it should
be done like because of the screen coordinate system:

Dim  tempRect As New rectObj(intMinX, intMinY, intMaxX, intMaxY, 0)
Dim t As Integer = 0
Dim tc As Integer = 0
t = tempRect.miny
tempRect.miny = tempRect.maxy
tempRect.maxy = t

Is this situation changed in the latest beta version?

besides, i noticed that there is a fit(integer, integer) as double method,
I've tried to get the idea of this method in mailing list, but i didn't get
it.

Could anyone you guys give me some hints?

Cheers

Zhonghai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070808/74581b5a/attachment.html


More information about the mapserver-users mailing list