User Tools

Site Tools


Table of Contents

PixelEdit sample

Documentation | Samples | PixelEdit


How to modify pixels covered by a polygon and calculate terrain profile.


This sample illustrates use of:

Name Description
TGIS_LayerPixelEncapsulation of a common image layer - abstract class.
TGIS_LayerPixel.LoopPrepare enumerator to iterate layer.
TGIS_LayerPixel.LockPixelsLock fragment of the raster for update.
TGIS_LayerPixel.UnlockPixelsLock fragment.
TGIS_LayerPixel.SaveDataSave the entire layer to the file.
TGIS_PixelItemPixel value used mainly in iterators.
TGIS_LayerPixelLockStructure of locked image area.
TGIS_Color.FromRGBCreate color from Red Green Blue elements.


This sample is available on following platforms (click to see source code):

2017/12/05 09:21