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
dd590fd0
Kaydet (Commit)
dd590fd0
authored
Ock 16, 2018
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:useuniqueptr in GeoTexSvxMultiHatch
Change-Id: I3d25a50ed7ebf78214c0d358243f7e286503b8f8
üst
9b0a74a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
texture3d.cxx
drawinglayer/source/texture/texture3d.cxx
+6
-9
texture3d.hxx
include/drawinglayer/texture/texture3d.hxx
+3
-3
No files found.
drawinglayer/source/texture/texture3d.cxx
Dosyayı görüntüle @
dd590fd0
...
...
@@ -327,36 +327,33 @@ namespace drawinglayer
const
double
fAngleA
(
rHatch
.
getAngle
());
maColor
=
rHatch
.
getColor
();
mbFillBackground
=
rHatch
.
isFillBackground
();
mp0
=
new
GeoTexSvxHatch
(
mp0
.
reset
(
new
GeoTexSvxHatch
(
aOutlineRange
,
aOutlineRange
,
rHatch
.
getDistance
(),
fAngleA
);
fAngleA
)
)
;
if
(
attribute
::
HatchStyle
::
Double
==
rHatch
.
getStyle
()
||
attribute
::
HatchStyle
::
Triple
==
rHatch
.
getStyle
())
{
mp1
=
new
GeoTexSvxHatch
(
mp1
.
reset
(
new
GeoTexSvxHatch
(
aOutlineRange
,
aOutlineRange
,
rHatch
.
getDistance
(),
fAngleA
+
F_PI2
);
fAngleA
+
F_PI2
)
)
;
}
if
(
attribute
::
HatchStyle
::
Triple
==
rHatch
.
getStyle
())
{
mp2
=
new
GeoTexSvxHatch
(
mp2
.
reset
(
new
GeoTexSvxHatch
(
aOutlineRange
,
aOutlineRange
,
rHatch
.
getDistance
(),
fAngleA
+
F_PI4
);
fAngleA
+
F_PI4
)
)
;
}
}
GeoTexSvxMultiHatch
::~
GeoTexSvxMultiHatch
()
{
delete
mp0
;
delete
mp1
;
delete
mp2
;
}
bool
GeoTexSvxMultiHatch
::
impIsOnHatch
(
const
basegfx
::
B2DPoint
&
rUV
)
const
...
...
include/drawinglayer/texture/texture3d.hxx
Dosyayı görüntüle @
dd590fd0
...
...
@@ -123,9 +123,9 @@ namespace drawinglayer
{
basegfx
::
BColor
maColor
;
double
mfLogicPixelSize
;
GeoTexSvxHatch
*
mp0
;
GeoTexSvxHatch
*
mp1
;
GeoTexSvxHatch
*
mp2
;
std
::
unique_ptr
<
GeoTexSvxHatch
>
mp0
;
std
::
unique_ptr
<
GeoTexSvxHatch
>
mp1
;
std
::
unique_ptr
<
GeoTexSvxHatch
>
mp2
;
bool
mbFillBackground
:
1
;
...
...
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