diff options
author | Christian M. Heller <christian.heller63@gmail.com> | 2013-03-20 05:27:28 -0400 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-03-20 11:52:01 +0000 |
commit | c86fa81bcd5db0db4b343a27cc7ca979613fc2ad (patch) | |
tree | 1a4d7673f252b14e553baff7fe11c2e2a381d4e5 /vcl/unx/generic/gdi | |
parent | 7ef3b46fd5bdfb3a87e9b0a840287fdb6ff4734b (diff) |
fdo#39468 German comments in vcl/unx/generic/...
Change-Id: I869f5ac346b378ee63832e01ce099f366b7c184f
Reviewed-on: https://gerrit.libreoffice.org/2865
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl/unx/generic/gdi')
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index bacd1465b579..2464dd442207 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -362,12 +362,12 @@ void X11SalGraphics::DrawLines( sal_uLong nPoints, bool bClose ) { - // errechne wie viele Linien XWindow auf einmal zeichnen kann + // calculate how many lines XWindow can draw in one go sal_uLong nMaxLines = (GetDisplay()->GetMaxRequestSize() - sizeof(xPolyPointReq)) / sizeof(xPoint); if( nMaxLines > nPoints ) nMaxLines = nPoints; - // gebe alle Linien aus, die XWindows zeichnen kann. + // print all lines that XWindows can draw sal_uLong n; for( n = 0; nPoints - n > nMaxLines; n += nMaxLines - 1 ) XDrawLines( GetXDisplay(), @@ -391,7 +391,7 @@ void X11SalGraphics::DrawLines( sal_uLong nPoints, } } -// Dithern: Calculate a dither-pixmap and make a brush of it +// Calculate a dither-pixmap and make a brush of it #define P_DELTA 51 #define DMAP( v, m ) ((v % P_DELTA) > m ? (v / P_DELTA) + 1 : (v / P_DELTA)) @@ -766,7 +766,7 @@ void X11SalGraphics::drawRect( long nX, long nY, long nDX, long nDY ) SelectBrush(), nX, nY, nDX, nDY ); } - // Beschreibung DrawRect verkehrt, deshalb -1 + // description DrawRect is wrong; thus -1 if( nPenColor_ != SALCOLOR_NONE ) XDrawRectangle( GetXDisplay(), GetDrawable(), @@ -886,7 +886,7 @@ void X11SalGraphics::drawPolyPolygon( sal_uInt32 nPoly, XClipBox( pXRegA, &aXRect ); GC pGC = SelectBrush(); - SetClipRegion( pGC, pXRegA ); // ??? doppelt + SetClipRegion( pGC, pXRegA ); // ??? twice XDestroyRegion( pXRegA ); bBrushGC_ = sal_False; |