mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-01 15:52:41 -06:00
Painter: Fill now closes polygon even if color is null
git-svn-id: svn://ultimatepp.org/upp/trunk@11703 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
86689e0b73
commit
cfd57e8018
1 changed files with 4 additions and 3 deletions
|
|
@ -141,14 +141,15 @@ Buffer<ClippingLine> BufferPainter::RenderPath(double width, Event<One<SpanSourc
|
|||
{
|
||||
PAINTER_TIMING("RenderPath");
|
||||
Buffer<ClippingLine> newclip;
|
||||
|
||||
if(width == FILL)
|
||||
Close();
|
||||
|
||||
if(width == 0 || !ss && color.a == 0 && width >= FILL) {
|
||||
current = Null;
|
||||
return newclip;
|
||||
}
|
||||
|
||||
if(width == FILL)
|
||||
Close();
|
||||
|
||||
if(co && width >= FILL && !ss && !alt && mode == MODE_ANTIALIASED) {
|
||||
for(const String& p : path) {
|
||||
while(jobcount >= cojob.GetCount())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue