User Tools

Site Tools


samples:samples:pixeledit

Table of Contents

PixelEdit sample

Documentation | Samples | PixelEdit

Summary

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

Description

This sample illustrates use of:

Name Description
TGIS_LayerPixelEncapsulation of a common image layer - abstract class.
TGIS_LayerPixel.LoopPrepares enumerator to iterate the layer through the linear shape.
TGIS_LayerPixel.LockPixelsLocks a fragment of the pixel layer for updating.
TGIS_LayerPixel.UnlockPixelsUnLocks a 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.

Code

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

2020/05/26 09:38

Page Tools