diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-22 00:40:20 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-22 02:30:38 +1000 |
commit | 77675447a8e9c61353c2b34d6f60bfc616c1269c (patch) | |
tree | b415c5e225d8383cc228bab8bfe144ccbef68d06 /vcl/source/outdev/transparent.cxx | |
parent | ce224a70a83d11f6eedea68b3bb8318e2e36f64d (diff) |
Rearrange OutputDevice line functions
Reorganized OutputDevice line functions - several of these functions
should be private. I have renamed the following functions:
* ImplInitLineColor -> InitLineColor (made this private)
* ImplPaintLineGeometryWithEvtlExpand -> PaintLineGeometryWithEvtlExpand
(made this private)
* ImplTryDrawPolyLineDirect -> TryDrawPolyLineDirectNoAA (made this
private)
I also made a small code change to make bTryAA more clear, and also
change (bTryAA && TryDrawPolyLineDirect(rPoly.getB2DPolygon()) to a
nestied if statement.
Change-Id: I90e8083d69b715912bf0ad1d400bc355f3501981
Diffstat (limited to 'vcl/source/outdev/transparent.cxx')
-rw-r--r-- | vcl/source/outdev/transparent.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx index 964d255842cc..acf9464091ff 100644 --- a/vcl/source/outdev/transparent.cxx +++ b/vcl/source/outdev/transparent.cxx @@ -196,7 +196,7 @@ void OutputDevice::DrawTransparent( const basegfx::B2DPolyPolygon& rB2DPolyPoly, return; if( mbInitLineColor ) - ImplInitLineColor(); + InitLineColor(); if( mbInitFillColor ) ImplInitFillColor(); @@ -276,7 +276,7 @@ bool OutputDevice::DrawTransparentNatively ( const PolyPolygon& rPolyPoly, if( mbOutputClipped ) return false; if( mbInitLineColor ) - ImplInitLineColor(); + InitLineColor(); if( mbInitFillColor ) ImplInitFillColor(); @@ -360,7 +360,7 @@ void OutputDevice::EmulateDrawTransparent ( const PolyPolygon& rPolyPoly, if ( mbInitClipRegion ) ImplInitClipRegion(); if ( mbInitLineColor ) - ImplInitLineColor(); + InitLineColor(); if ( mbInitFillColor ) ImplInitFillColor(); |