Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3a23ea92
Kaydet (Commit)
3a23ea92
authored
Eyl 27, 2012
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#119863# Corrected rotation center for animations
üst
c40a9701
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
viewcontactofsdrobjcustomshape.cxx
svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
+20
-8
No files found.
svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
Dosyayı görüntüle @
3a23ea92
...
@@ -218,15 +218,27 @@ namespace sdr
...
@@ -218,15 +218,27 @@ namespace sdr
xRetval
=
drawinglayer
::
primitive2d
::
Primitive2DSequence
(
&
xReference
,
1
);
xRetval
=
drawinglayer
::
primitive2d
::
Primitive2DSequence
(
&
xReference
,
1
);
}
}
// always append an invisible outline for the cases where no visible content exists
// #119863# always append an invisible outline for the cases where no visible content exists
const
Rectangle
aObjectBound
(
GetCustomShapeObj
().
GetGeoRect
());
if
(
true
)
const
basegfx
::
B2DRange
aObjectRange
(
{
aObjectBound
.
Left
(),
aObjectBound
.
Top
(),
const
Rectangle
aObjectBound
(
GetCustomShapeObj
().
GetGeoRect
());
aObjectBound
.
Right
(),
aObjectBound
.
Bottom
());
const
basegfx
::
B2DRange
aObjectRange
(
aObjectBound
.
Left
(),
aObjectBound
.
Top
(),
aObjectBound
.
Right
(),
aObjectBound
.
Bottom
());
drawinglayer
::
primitive2d
::
appendPrimitive2DReferenceToPrimitive2DSequence
(
xRetval
,
// create object matrix
drawinglayer
::
primitive2d
::
createHiddenGeometryPrimitives2D
(
const
GeoStat
&
rGeoStat
(
GetCustomShapeObj
().
GetGeoStat
());
false
,
aObjectRange
));
const
double
fShearX
(
rGeoStat
.
nShearWink
?
tan
((
36000
-
rGeoStat
.
nShearWink
)
*
F_PI18000
)
:
0.0
);
const
double
fRotate
(
rGeoStat
.
nDrehWink
?
(
36000
-
rGeoStat
.
nDrehWink
)
*
F_PI18000
:
0.0
);
const
basegfx
::
B2DHomMatrix
aObjectMatrix
(
basegfx
::
tools
::
createScaleShearXRotateTranslateB2DHomMatrix
(
aObjectRange
.
getWidth
(),
aObjectRange
.
getHeight
(),
fShearX
,
fRotate
,
aObjectRange
.
getMinX
(),
aObjectRange
.
getMinY
()));
drawinglayer
::
primitive2d
::
appendPrimitive2DReferenceToPrimitive2DSequence
(
xRetval
,
drawinglayer
::
primitive2d
::
createHiddenGeometryPrimitives2D
(
false
,
aObjectMatrix
));
}
return
xRetval
;
return
xRetval
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment