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
19007907
Kaydet (Commit)
19007907
authored
Mar 23, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:constantparam in drawinglayer
Change-Id: I93b14a4ced909fa87bc3ad69d6fe9741a218018f
üst
168efab3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
vclhelperbufferdevice.cxx
drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+3
-7
vclhelperbufferdevice.hxx
drawinglayer/source/processor2d/vclhelperbufferdevice.hxx
+1
-2
vclprocessor2d.cxx
drawinglayer/source/processor2d/vclprocessor2d.cxx
+3
-3
No files found.
drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
Dosyayı görüntüle @
19007907
...
...
@@ -248,8 +248,7 @@ namespace drawinglayer
impBufferDevice
::
impBufferDevice
(
OutputDevice
&
rOutDev
,
const
basegfx
::
B2DRange
&
rRange
,
bool
bAddOffsetToMapping
)
const
basegfx
::
B2DRange
&
rRange
)
:
mrOutDev
(
rOutDev
),
mpContent
(
nullptr
),
mpMask
(
nullptr
),
...
...
@@ -287,11 +286,8 @@ namespace drawinglayer
MapMode
aNewMapMode
(
mrOutDev
.
GetMapMode
());
if
(
bAddOffsetToMapping
)
{
const
Point
aLogicTopLeft
(
mrOutDev
.
PixelToLogic
(
maDestPixel
.
TopLeft
()));
aNewMapMode
.
SetOrigin
(
Point
(
-
aLogicTopLeft
.
X
(),
-
aLogicTopLeft
.
Y
()));
}
const
Point
aLogicTopLeft
(
mrOutDev
.
PixelToLogic
(
maDestPixel
.
TopLeft
()));
aNewMapMode
.
SetOrigin
(
Point
(
-
aLogicTopLeft
.
X
(),
-
aLogicTopLeft
.
Y
()));
mpContent
->
SetMapMode
(
aNewMapMode
);
...
...
drawinglayer/source/processor2d/vclhelperbufferdevice.hxx
Dosyayı görüntüle @
19007907
...
...
@@ -43,8 +43,7 @@ namespace drawinglayer
public
:
impBufferDevice
(
OutputDevice
&
rOutDev
,
const
basegfx
::
B2DRange
&
rRange
,
bool
bAddOffsetToMapping
);
const
basegfx
::
B2DRange
&
rRange
);
~
impBufferDevice
();
void
paint
(
double
fTrans
=
0.0
);
...
...
drawinglayer/source/processor2d/vclprocessor2d.cxx
Dosyayı görüntüle @
19007907
...
...
@@ -856,7 +856,7 @@ namespace drawinglayer
{
aMask
.
transform
(
maCurrentTransformation
);
const
basegfx
::
B2DRange
aRange
(
basegfx
::
tools
::
getRange
(
aMask
));
impBufferDevice
aBufferDevice
(
*
mpOutputDevice
,
aRange
,
true
);
impBufferDevice
aBufferDevice
(
*
mpOutputDevice
,
aRange
);
if
(
aBufferDevice
.
isVisible
())
{
...
...
@@ -933,7 +933,7 @@ namespace drawinglayer
// transparence is in visible range
basegfx
::
B2DRange
aRange
(
rTransCandidate
.
getChildren
().
getB2DRange
(
getViewInformation2D
()));
aRange
.
transform
(
maCurrentTransformation
);
impBufferDevice
aBufferDevice
(
*
mpOutputDevice
,
aRange
,
true
);
impBufferDevice
aBufferDevice
(
*
mpOutputDevice
,
aRange
);
if
(
aBufferDevice
.
isVisible
())
{
...
...
@@ -962,7 +962,7 @@ namespace drawinglayer
{
basegfx
::
B2DRange
aRange
(
rTransCandidate
.
getChildren
().
getB2DRange
(
getViewInformation2D
()));
aRange
.
transform
(
maCurrentTransformation
);
impBufferDevice
aBufferDevice
(
*
mpOutputDevice
,
aRange
,
true
);
impBufferDevice
aBufferDevice
(
*
mpOutputDevice
,
aRange
);
if
(
aBufferDevice
.
isVisible
())
{
...
...
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