svdopath.cxx (da72173f) | svdopath.cxx (ebe15e47) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1024 unchanged lines hidden (view full) --- 1033 1034 // UNICODE: Punkt von ... loeschen 1035 aStr2.SearchAndReplaceAscii("%1", aStr); 1036 1037 return aStr2; 1038 } 1039 1040 // dx=0.00 dy=0.00 // Beide Seiten Bezier | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1024 unchanged lines hidden (view full) --- 1033 1034 // UNICODE: Punkt von ... loeschen 1035 aStr2.SearchAndReplaceAscii("%1", aStr); 1036 1037 return aStr2; 1038 } 1039 1040 // dx=0.00 dy=0.00 // Beide Seiten Bezier |
1041 // dx=0.00 dy=0.00 l=0.00 0.00� // Anfang oder Ende oder eine Seite Bezier bzw. Hebel 1042 // dx=0.00 dy=0.00 l=0.00 0.00� / l=0.00 0.00� // Mittendrin | 1041 // dx=0.00 dy=0.00 l=0.00 0.00° // Anfang oder Ende oder eine Seite Bezier bzw. Hebel 1042 // dx=0.00 dy=0.00 l=0.00 0.00° / l=0.00 0.00° // Mittendrin |
1043 XubString aMetr; 1044 Point aBeg(rDrag.GetStart()); 1045 Point aNow(rDrag.GetNow()); 1046 1047 aStr = String(); 1048 aStr.AppendAscii("dx="); 1049 mrSdrPathObject.GetModel()->TakeMetricStr(aNow.X() - aBeg.X(), aMetr, sal_True); 1050 aStr += aMetr; --- 1913 unchanged lines hidden (view full) --- 2964 // force MapUnit to 100th mm 2965 const SfxMapUnit eMapUnit(GetObjectMapUnit()); 2966 if(eMapUnit != SFX_MAPUNIT_100TH_MM) 2967 { 2968 switch(eMapUnit) 2969 { 2970 case SFX_MAPUNIT_TWIP : 2971 { | 1043 XubString aMetr; 1044 Point aBeg(rDrag.GetStart()); 1045 Point aNow(rDrag.GetNow()); 1046 1047 aStr = String(); 1048 aStr.AppendAscii("dx="); 1049 mrSdrPathObject.GetModel()->TakeMetricStr(aNow.X() - aBeg.X(), aMetr, sal_True); 1050 aStr += aMetr; --- 1913 unchanged lines hidden (view full) --- 2964 // force MapUnit to 100th mm 2965 const SfxMapUnit eMapUnit(GetObjectMapUnit()); 2966 if(eMapUnit != SFX_MAPUNIT_100TH_MM) 2967 { 2968 switch(eMapUnit) 2969 { 2970 case SFX_MAPUNIT_TWIP : 2971 { |
2972 // postion | 2972 // position |
2973 aTranslate.setX(ImplTwipsToMM(aTranslate.getX())); 2974 aTranslate.setY(ImplTwipsToMM(aTranslate.getY())); 2975 2976 // size 2977 aScale.setX(ImplTwipsToMM(aScale.getX())); 2978 aScale.setY(ImplTwipsToMM(aScale.getY())); 2979 2980 // polygon --- 141 unchanged lines hidden --- | 2973 aTranslate.setX(ImplTwipsToMM(aTranslate.getX())); 2974 aTranslate.setY(ImplTwipsToMM(aTranslate.getY())); 2975 2976 // size 2977 aScale.setX(ImplTwipsToMM(aScale.getX())); 2978 aScale.setY(ImplTwipsToMM(aScale.getY())); 2979 2980 // polygon --- 141 unchanged lines hidden --- |