337 lines
7.6 KiB
Groff
337 lines
7.6 KiB
Groff
.TH "CampusAppWP8.Model.Campusmap.MapModel" 3 "Thu Aug 15 2013" "CampusAppWp8" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
CampusAppWP8.Model.Campusmap.MapModel \-
|
|
.PP
|
|
This Class manage the properties of a Map
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.PP
|
|
Inherited by \fBCampusAppWP8\&.Model\&.Campusmap\&.CBMainMapModel\fP\&.
|
|
.SS "Public Member Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "\fBMapModel\fP ()"
|
|
.br
|
|
.RI "\fIInitializes a new instance of the \fBMapModel\fP class\&. \fP"
|
|
.ti -1c
|
|
.RI "Point \fBGetScrollPoint\fP (Point point)"
|
|
.br
|
|
.RI "\fIMethod calculate the coordinates of ScrollToOffsets point \fP"
|
|
.ti -1c
|
|
.RI "Point \fBGetScrollPoint\fP (double x, double y)"
|
|
.br
|
|
.RI "\fIMethod calculate the coordinates of ScrollToOffsets point \fP"
|
|
.ti -1c
|
|
.RI "Image \fBAddPin\fP (double x, double y)"
|
|
.br
|
|
.RI "\fIMethod create in image, which can show at a certain position \fP"
|
|
.ti -1c
|
|
.RI "Image \fBAddPinFromRefPoint\fP (double x, double y)"
|
|
.br
|
|
.RI "\fIMethod create in image, which can show at a certain position depend of the \fBRefPoint\fP \fP"
|
|
.ti -1c
|
|
.RI "Image \fBAddPinFromRefPoint\fP (Point position)"
|
|
.br
|
|
.RI "\fIMethod create in image, which can show at a certain position depend of the \fBRefPoint\fP \fP"
|
|
.ti -1c
|
|
.RI "Image \fBAddPin\fP (Point position)"
|
|
.br
|
|
.RI "\fIMethod create in image, which can show at a certain position \fP"
|
|
.ti -1c
|
|
.RI "Point \fBConverToPixelPoint\fP (double x, double y)"
|
|
.br
|
|
.RI "\fIConvert a coordinates to coordinates which address pixels \fP"
|
|
.ti -1c
|
|
.RI "Point \fBConverToPixelPoint\fP (Point point)"
|
|
.br
|
|
.RI "\fIConvert a coordinates to coordinates which address pixels \fP"
|
|
.ti -1c
|
|
.RI "Point \fBConverToMapPoint\fP (double x, double y)"
|
|
.br
|
|
.RI "\fIConvert a coordinates to coordinates which address mapPoint \fP"
|
|
.ti -1c
|
|
.RI "Point \fBConverToMapPoint\fP (Point point)"
|
|
.br
|
|
.RI "\fIConvert a coordinates to coordinates which address mapPoint \fP"
|
|
.in -1c
|
|
.SS "Properties"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "string \fBImageSource\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the ImageSource of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBImageWidth\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the ImageWidth of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBImageHeight\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the ImageHeight of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBMapImageOffsetX\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the ImageOffsetX of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBMapImageOffsetY\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the ImageOffsetY of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBGeoOffsetX\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the GeoOffsetX of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBGeoOffsetY\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the GeoOffsetY of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBScaleX\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the Scale (to pixel) of the map \fP"
|
|
.ti -1c
|
|
.RI "double \fBScaleY\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the Scale (to pixel) of the map \fP"
|
|
.ti -1c
|
|
.RI "Point \fBRefPoint\fP\fC [get, set]\fP"
|
|
.br
|
|
.RI "\fIGets or sets the reference point \fP"
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
This Class manage the properties of a Map
|
|
|
|
|
|
.SH "Constructor & Destructor Documentation"
|
|
.PP
|
|
.SS "CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.MapModel ()"
|
|
|
|
.PP
|
|
Initializes a new instance of the \fBMapModel\fP class\&.
|
|
.SH "Member Function Documentation"
|
|
.PP
|
|
.SS "Image CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.AddPin (doublex, doubley)"
|
|
|
|
.PP
|
|
Method create in image, which can show at a certain position
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIx\fP the x- coordinate
|
|
.br
|
|
\fIy\fP the y-coordinate
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
image of the pin
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Image CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.AddPin (Pointposition)"
|
|
|
|
.PP
|
|
Method create in image, which can show at a certain position
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIposition\fP input point
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
image of the pin
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Image CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.AddPinFromRefPoint (doublex, doubley)"
|
|
|
|
.PP
|
|
Method create in image, which can show at a certain position depend of the \fBRefPoint\fP
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIx\fP the x-coordinate
|
|
.br
|
|
\fIy\fP the y-coordinate
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
image of the pin
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Image CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.AddPinFromRefPoint (Pointposition)"
|
|
|
|
.PP
|
|
Method create in image, which can show at a certain position depend of the \fBRefPoint\fP
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIposition\fP input point
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
image of the pin
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Point CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ConverToMapPoint (doublex, doubley)"
|
|
|
|
.PP
|
|
Convert a coordinates to coordinates which address mapPoint
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIx\fP the x-coordinate
|
|
.br
|
|
\fIy\fP the y-coordinate
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
Point in pixel-size
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Point CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ConverToMapPoint (Pointpoint)"
|
|
|
|
.PP
|
|
Convert a coordinates to coordinates which address mapPoint
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIpoint\fP not scaled point
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
Point in pixel-size
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Point CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ConverToPixelPoint (doublex, doubley)"
|
|
|
|
.PP
|
|
Convert a coordinates to coordinates which address pixels
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIx\fP the x-coordinate
|
|
.br
|
|
\fIy\fP the y-coordinate
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
Point in pixel-size
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Point CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ConverToPixelPoint (Pointpoint)"
|
|
|
|
.PP
|
|
Convert a coordinates to coordinates which address pixels
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIpoint\fP not scaled point
|
|
.RE
|
|
.PP
|
|
d
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
Point in pixel-size
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Point CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.GetScrollPoint (Pointpoint)"
|
|
|
|
.PP
|
|
Method calculate the coordinates of ScrollToOffsets point
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIpoint\fP input point
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
point (in pixel)
|
|
.RE
|
|
.PP
|
|
|
|
.SS "Point CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.GetScrollPoint (doublex, doubley)"
|
|
|
|
.PP
|
|
Method calculate the coordinates of ScrollToOffsets point the input-point will be shown in the center
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIx\fP x - coordinate
|
|
.br
|
|
\fIy\fP y - coordinate
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
point (in pixel)
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Property Documentation"
|
|
.PP
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.GeoOffsetX\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the GeoOffsetX of the map
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.GeoOffsetY\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the GeoOffsetY of the map
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ImageHeight\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the ImageHeight of the map
|
|
.SS "string CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ImageSource\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the ImageSource of the map
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ImageWidth\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the ImageWidth of the map
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.MapImageOffsetX\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the ImageOffsetX of the map
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.MapImageOffsetY\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the ImageOffsetY of the map
|
|
.SS "Point CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.RefPoint\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the reference point
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ScaleX\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the Scale (to pixel) of the map
|
|
.SS "double CampusAppWP8\&.Model\&.Campusmap\&.MapModel\&.ScaleY\fC [get]\fP, \fC [set]\fP"
|
|
|
|
.PP
|
|
Gets or sets the Scale (to pixel) of the map
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for CampusAppWp8 from the source code\&.
|