the fair gds editor LayerSetupMacro

Layer Setup

The complete setup of layer can be made via the LayerManager. However sometimes it can be useful to use a macro for a setup. So there is a generate layer setup macro feature. Here are some additional macros to change the layer setup:

Download:

Some code extract:

   1 int main(){
   2 layers::enableAllLayer();
   3 layers::num[0].name="0";
   4 layers::num[0].setStyle(0);
   5 layers::num[0].setColor(130,43,43);
   6 layers::num[0].mapToLayer= 0;
   7 layers::num[0].mapToDatatype= -1;
   8 layers::num[1].name="1";
   9 layers::num[1].setStyle(1);
  10 layers::num[1].setColor(197,217,43);
  11 layers::num[1].mapToLayer= 1;
  12 layers::num[1].mapToDatatype= -1;
  13 .....
  14 }

See also


CategoryMacro


LayerSetupMacro (last edited 2011-02-28 10:09:11 by dslb-092-074-059-143)