add: if (hasFlag("hmir")) trafo.m00 = - trafo.m00; if (hasFlag("vmir")) trafo.m11 = - trafo.m11; 
context: function parseTrafo(elem) {    // returns Transform from current dlArea and picsize    var picsize = getElementRect(elem);    var trafo = new Transform();    // subtract area offset and size    trafo.concat(getTranslation(new Position(-dlArea.x, -dlArea.y)));    trafo.concat(getScale(new Size(1/dlArea.width, 1/dlArea.height)));    // scale to screen size    trafo.concat(getScale(picsize));    trafo.concat(getTranslation(picsize));    // rotate    //trafo.concat(getRotation(- getParameter("rot"), new Position(0.5*picsize.width, 0.5*picsize.height)));    // mirror    //if (hasFlag("hmir")) {    //trafo.m00 = - trafo.m00;    //}    //if (hasFlag("vmir")) {    //trafo.m11 = - trafo.m11;    //}    return trafo;}
meta: 7747	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7747/b558443abc997acd0db2f5f940a087d1a2056c8e/dllib.js/clean/client/digitallibrary/greyskin/dllib.js