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
2ec34d8c
Kaydet (Commit)
2ec34d8c
authored
Kas 22, 2007
tarafından
Armin Weiss
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i39532# wntmsci10 correction
üst
2410376e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
12 deletions
+13
-12
polygonprimitive2d.cxx
drawinglayer/source/primitive2d/polygonprimitive2d.cxx
+8
-6
sdrlatheprimitive3d.cxx
drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
+3
-3
vclhelpergradient.cxx
drawinglayer/source/processor2d/vclhelpergradient.cxx
+2
-3
No files found.
drawinglayer/source/primitive2d/polygonprimitive2d.cxx
Dosyayı görüntüle @
2ec34d8c
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: polygonprimitive2d.cxx,v $
*
* $Revision: 1.
7
$
* $Revision: 1.
8
$
*
* last change: $Author: aw $ $Date: 2007-11-
19 10:21:42
$
* last change: $Author: aw $ $Date: 2007-11-
22 15:01:17
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -204,15 +204,17 @@ namespace drawinglayer
{
// create fat line data
const
double
fHalfLineWidth
(
getLineAttribute
().
getWidth
()
/
2.0
);
const
double
fMiterMinimumAngle
(
15.0
*
F_PI180
);
const
basegfx
::
B2DLineJoin
aLineJoin
(
getLineAttribute
().
getLineJoin
());
basegfx
::
B2DPolyPolygon
aAreaPolyPolygon
;
for
(
sal_uInt32
a
(
0L
);
a
<
nCount
;
a
++
)
{
const
basegfx
::
B2DPolyPolygon
aNewPolyPolygon
(
basegfx
::
tools
::
createAreaGeometryForPolygon
(
aHairLinePolyPolygon
.
getB2DPolygon
(
a
),
fHalfLineWidth
,
aLineJoin
,
fMiterMinimumAngle
));
aAreaPolyPolygon
.
append
(
aNewPolyPolygon
);
// AW: New version of createAreaGeometry; now creates bezier polygons
aAreaPolyPolygon
.
append
(
basegfx
::
tools
::
createAreaGeometry
(
aHairLinePolyPolygon
.
getB2DPolygon
(
a
),
fHalfLineWidth
,
aLineJoin
));
//const basegfx::B2DPolyPolygon aNewPolyPolygon(basegfx::tools::createAreaGeometryForPolygon(
// aHairLinePolyPolygon.getB2DPolygon(a), fHalfLineWidth, aLineJoin, fMiterMinimumAngle));
//aAreaPolyPolygon.append(aNewPolyPolygon);
}
// prepare return value
...
...
drawinglayer/source/primitive3d/sdrlatheprimitive3d.cxx
Dosyayı görüntüle @
2ec34d8c
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: sdrlatheprimitive3d.cxx,v $
*
* $Revision: 1.
7
$
* $Revision: 1.
8
$
*
* last change: $Author: aw $ $Date: 2007-
03-06 12:34:58
$
* last change: $Author: aw $ $Date: 2007-
11-22 15:01:17
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -220,7 +220,7 @@ namespace drawinglayer
void
SdrLathePrimitive3D
::
impCreateSlices
()
{
// prepare the polygon
basegfx
::
B2DPolyPolygon
aCandidate
(
basegfx
::
tools
::
adaptiveSubdivideBy
Distanc
e
(
getPolyPolygon
()));
basegfx
::
B2DPolyPolygon
aCandidate
(
basegfx
::
tools
::
adaptiveSubdivideBy
Angl
e
(
getPolyPolygon
()));
aCandidate
.
removeDoublePoints
();
aCandidate
=
basegfx
::
tools
::
correctOrientations
(
aCandidate
);
aCandidate
=
basegfx
::
tools
::
correctOutmostPolygon
(
aCandidate
);
...
...
drawinglayer/source/processor2d/vclhelpergradient.cxx
Dosyayı görüntüle @
2ec34d8c
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: vclhelpergradient.cxx,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Author:
hdu $ $Date: 2007-04-17 10:02:28
$
* last change: $Author:
aw $ $Date: 2007-11-22 15:01:17
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -239,7 +239,6 @@ namespace drawinglayer
{
const
basegfx
::
B2DPoint
aCircleCenter
(
0.5
,
0.5
);
aUnitPolygon
=
basegfx
::
tools
::
createPolygonFromEllipse
(
aCircleCenter
,
0.5
,
0.5
);
// aUnitPolygon = basegfx::tools::adaptiveSubdivideByAngle(aUnitPolygon);
}
else
{
...
...
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