svdocirc.cxx (cdf0e10c) | svdocirc.cxx (a5258243) |
---|---|
1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * --- 1141 unchanged lines hidden (view full) --- 1150 GetProperties().SetObjectItemDirect(SdrCircEndAngleItem(nEndWink)); 1151 } 1152 1153 SetXPolyDirty(); 1154 ImpSetAttrToCircInfo(); 1155 } 1156} 1157 | 1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * --- 1141 unchanged lines hidden (view full) --- 1150 GetProperties().SetObjectItemDirect(SdrCircEndAngleItem(nEndWink)); 1151 } 1152 1153 SetXPolyDirty(); 1154 ImpSetAttrToCircInfo(); 1155 } 1156} 1157 |
1158SdrObject* SdrCircObj::DoConvertToPolyObj(sal_Bool bBezier) const | 1158SdrObject* SdrCircObj::DoConvertToPolyObj(sal_Bool bBezier, bool bAddText) const |
1159{ 1160 const sal_Bool bFill(OBJ_CARC == meCircleKind ? sal_False : sal_True); 1161 const basegfx::B2DPolygon aCircPolygon(ImpCalcXPolyCirc(meCircleKind, aRect, nStartWink, nEndWink)); 1162 SdrObject* pRet = ImpConvertMakeObj(basegfx::B2DPolyPolygon(aCircPolygon), bFill, bBezier); | 1159{ 1160 const sal_Bool bFill(OBJ_CARC == meCircleKind ? sal_False : sal_True); 1161 const basegfx::B2DPolygon aCircPolygon(ImpCalcXPolyCirc(meCircleKind, aRect, nStartWink, nEndWink)); 1162 SdrObject* pRet = ImpConvertMakeObj(basegfx::B2DPolyPolygon(aCircPolygon), bFill, bBezier); |
1163 pRet = ImpConvertAddText(pRet, bBezier); | |
1164 | 1163 |
1164 if(bAddText) 1165 { 1166 pRet = ImpConvertAddText(pRet, bBezier); 1167 } 1168 |
|
1165 return pRet; 1166} 1167 1168////////////////////////////////////////////////////////////////////////////// 1169// eof | 1169 return pRet; 1170} 1171 1172////////////////////////////////////////////////////////////////////////////// 1173// eof |