DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.MapToRaster | Constructors | Fields | Methods | Properties | Events
Converts map coordinates to raster pixel location.
// Delphi public function MapToRaster( const _ptg : TGIS_Point; const _cs : TGIS_CSCoordinateSystem ) : TPoint;
// C++ Builder public: TPoint* MapToRaster( TGIS_Point* const _ptg, TGIS_CSCoordinateSystem* const _cs );
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point | point to be converted |
_cs | TGIS_CSCoordinateSystem | coordinate system of _ptg; if nil that coordinate system same as layer coordinate system |
Type | Description |
---|---|
TPoint | calculated location |