logo

Class layerTranslator

logo

Introduction
Screenshots
License/Download
Installation
Userinterface
Function Index
Macro Programming
Links
Community

mouse left
no help

layerTranslator Class Reference

layer translator class more...

Public Member Functions

voidinvert()
invert
voidmapAll(int to)
map all
voidmapLayer(int from, int to)
map layer
intmap(int from)
map

Detailed Description

This class is used for the layer mapping functions is the classes drawingField and cell

Example:

layerTranslator t;
t.mapLayer(18,19);
t.mapLayer(19,18);
layout->drawing->mapLayer(&t);

Member Documentation

void layerTranslator::mapLayer(int from, int to)

    map layer

    sets a mapping of layer from to Layer to

    void layerTranslator::mapAll(int to)

      map all

      sets the mapping of all layer to to

      int layerTranslator::map(int from)

        map

        maps the Layer from

        void layerTranslator::invert()

          invert

          Inverts the translation.

          SourceForge.net LogoThis page may be outdated. Visit the new LayoutEditor homepage for the newest infomations!