Fix DrawArc() implementation in wxPostScriptDC

Draw pie, not arc, if current brush is not transparent.
Also simplify the code by invoking PostScript 'arc' operator only once if pie is drawn.

Closes #17805.
This commit is contained in:
Artur Wieczorek
2017-02-22 21:09:16 +01:00
parent 685ab869ae
commit f49528cc2f
2 changed files with 38 additions and 32 deletions

View File

@@ -127,6 +127,7 @@ All (GUI):
- Support multiline strings in wxPostScriptDC::DrawText(), DrawRotatedText().
- Deprecate wxEVT_STC_KEY and wxEVT_STC_URIDROPPED events (NewPagodi).
- Optimize font registration in PostScript code emitted by wxPostScriptDC.
- Fix drawing filled arc with wxPostScriptDC::DrawArc().
wxGTK: