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
bb5d1006
Kaydet (Commit)
bb5d1006
authored
Nis 27, 2014
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
VCL: rename OutputDevice::ImplInitFillColor and make it private
Change-Id: I01c0974d3a2f79cf3c6b9730ea306dcd49927a3c
üst
ffd55ff0
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
20 deletions
+21
-20
outdev.hxx
include/vcl/outdev.hxx
+3
-2
print.cxx
vcl/source/gdi/print.cxx
+1
-1
curvedshapes.cxx
vcl/source/outdev/curvedshapes.cxx
+3
-3
line.cxx
vcl/source/outdev/line.cxx
+1
-1
nativecontrols.cxx
vcl/source/outdev/nativecontrols.cxx
+1
-1
outdev.cxx
vcl/source/outdev/outdev.cxx
+1
-1
polygon.cxx
vcl/source/outdev/polygon.cxx
+4
-4
polyline.cxx
vcl/source/outdev/polyline.cxx
+2
-2
rect.cxx
vcl/source/outdev/rect.cxx
+2
-2
transparent.cxx
vcl/source/outdev/transparent.cxx
+3
-3
No files found.
include/vcl/outdev.hxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -441,8 +441,6 @@ private:
*/
///@{
public
:
SAL_DLLPRIVATE
void
ImplInitFillColor
();
void
EnableOutput
(
bool
bEnable
=
true
);
bool
IsOutputEnabled
()
const
{
return
mbOutput
;
}
bool
IsDeviceOutput
()
const
{
return
mbDevOutput
;
}
...
...
@@ -488,6 +486,9 @@ public:
void
SetFont
(
const
Font
&
rNewFont
);
const
Font
&
GetFont
()
const
{
return
maFont
;
}
private
:
void
InitFillColor
();
///@}
/** @name Clipping functions
...
...
vcl/source/gdi/print.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -858,7 +858,7 @@ void Printer::ApplyMask( const Bitmap& rMask, const Color& rMaskColor,
SetLineColor
(
rMaskColor
);
SetFillColor
(
rMaskColor
);
InitLineColor
();
I
mplI
nitFillColor
();
InitFillColor
();
// create forward mapping tables
for
(
nX
=
0L
;
nX
<=
nSrcWidth
;
nX
++
)
...
...
vcl/source/outdev/curvedshapes.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -58,7 +58,7 @@ void OutputDevice::DrawEllipse( const Rectangle& rRect )
else
{
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
mpGraphics
->
DrawPolygon
(
aRectPoly
.
GetSize
(),
pPtAry
,
this
);
}
}
...
...
@@ -149,7 +149,7 @@ void OutputDevice::DrawPie( const Rectangle& rRect,
else
{
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
mpGraphics
->
DrawPolygon
(
aPiePoly
.
GetSize
(),
pPtAry
,
this
);
}
}
...
...
@@ -198,7 +198,7 @@ void OutputDevice::DrawChord( const Rectangle& rRect,
else
{
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
mpGraphics
->
DrawPolygon
(
aChordPoly
.
GetSize
(),
pPtAry
,
this
);
}
}
...
...
vcl/source/outdev/line.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -322,7 +322,7 @@ void OutputDevice::PaintLineGeometryWithEvtlExpand(
SetLineColor
();
InitLineColor
();
SetFillColor
(
aOldLineColor
);
I
mplI
nitFillColor
();
InitFillColor
();
bool
bDone
(
false
);
...
...
vcl/source/outdev/nativecontrols.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -275,7 +275,7 @@ bool OutputDevice::DrawNativeControl( ControlType nType,
if
(
mbInitLineColor
)
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
// Convert the coordinates from relative to Window-absolute, so we draw
// in the correct place in platform code
...
...
vcl/source/outdev/outdev.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -938,7 +938,7 @@ void OutputDevice::ImplGetFrameDev( const Point& rPt, const Point& rDevPt, const
}
void
OutputDevice
::
I
mplI
nitFillColor
()
void
OutputDevice
::
InitFillColor
()
{
DBG_TESTSOLARMUTEX
();
...
...
vcl/source/outdev/polygon.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -56,7 +56,7 @@ void OutputDevice::DrawPolyPolygon( const PolyPolygon& rPolyPoly )
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
// use b2dpolygon drawing if possible
if
((
mnAntialiasing
&
ANTIALIASING_ENABLE_B2DDRAW
)
&&
...
...
@@ -163,7 +163,7 @@ void OutputDevice::DrawPolygon( const Polygon& rPoly )
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
// use b2dpolygon drawing if possible
if
((
mnAntialiasing
&
ANTIALIASING_ENABLE_B2DDRAW
)
&&
...
...
@@ -263,7 +263,7 @@ void OutputDevice::ImplDrawPolyPolygonWithB2DPolyPolygon(const basegfx::B2DPolyP
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
if
((
mnAntialiasing
&
ANTIALIASING_ENABLE_B2DDRAW
)
&&
mpGraphics
->
supportsOperation
(
OutDevSupport_B2DDraw
)
&&
...
...
@@ -537,7 +537,7 @@ void OutputDevice::DrawGrid( const Rectangle& rRect, const Size& rDist, sal_uLon
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
const
bool
bOldMap
=
mbMap
;
EnableMapMode
(
false
);
...
...
vcl/source/outdev/polyline.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -194,7 +194,7 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon,
SetLineColor
();
InitLineColor
();
SetFillColor
(
aOldLineColor
);
I
mplI
nitFillColor
();
InitFillColor
();
// draw usig a loop; else the topology will paint a PolyPolygon
for
(
sal_uInt32
a
(
0
);
a
<
aAreaPolyPolygon
.
count
();
a
++
)
...
...
@@ -206,7 +206,7 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon,
SetLineColor
(
aOldLineColor
);
InitLineColor
();
SetFillColor
(
aOldFillColor
);
I
mplI
nitFillColor
();
InitFillColor
();
if
(
bTryAA
)
{
...
...
vcl/source/outdev/rect.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -55,7 +55,7 @@ void OutputDevice::DrawRect( const Rectangle& rRect )
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
mpGraphics
->
DrawRect
(
aRect
.
Left
(),
aRect
.
Top
(),
aRect
.
GetWidth
(),
aRect
.
GetHeight
(),
this
);
...
...
@@ -98,7 +98,7 @@ void OutputDevice::DrawRect( const Rectangle& rRect,
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
if
(
!
nHorzRound
&&
!
nVertRound
)
{
...
...
vcl/source/outdev/transparent.cxx
Dosyayı görüntüle @
bb5d1006
...
...
@@ -183,7 +183,7 @@ void OutputDevice::DrawTransparent( const basegfx::B2DPolyPolygon& rB2DPolyPoly,
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
if
((
mnAntialiasing
&
ANTIALIASING_ENABLE_B2DDRAW
)
&&
mpGraphics
->
supportsOperation
(
OutDevSupport_B2DDraw
)
&&
...
...
@@ -268,7 +268,7 @@ bool OutputDevice::DrawTransparentNatively ( const PolyPolygon& rPolyPoly,
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
// get the polygon in device coordinates
basegfx
::
B2DPolyPolygon
aB2DPolyPolygon
(
rPolyPoly
.
getB2DPolyPolygon
()
);
...
...
@@ -355,7 +355,7 @@ void OutputDevice::EmulateDrawTransparent ( const PolyPolygon& rPolyPoly,
InitLineColor
();
if
(
mbInitFillColor
)
I
mplI
nitFillColor
();
InitFillColor
();
Rectangle
aLogicPolyRect
(
rPolyPoly
.
GetBoundRect
()
);
Rectangle
aPixelRect
(
ImplLogicToDevicePixel
(
aLogicPolyRect
)
);
...
...
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