mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
* last commit broke rendering dots (though it should have been just more
work and no visual change... don't know why) -> fixed git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21686 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
38287e02af
commit
5286819920
@ -292,10 +292,12 @@ Painter::StrokeLine(BPoint a, BPoint b)
|
||||
&& (fDrawingMode == B_OP_COPY || fDrawingMode == B_OP_OVER)) {
|
||||
|
||||
pattern pat = *fPatternHandler.GetR5Pattern();
|
||||
if (pat == B_SOLID_HIGH &&
|
||||
StraightLine(a, b, fPatternHandler.HighColor().GetColor32())) {
|
||||
} else if (pat == B_SOLID_LOW &&
|
||||
StraightLine(a, b, fPatternHandler.LowColor().GetColor32())) {
|
||||
if (pat == B_SOLID_HIGH
|
||||
&& StraightLine(a, b, fPatternHandler.HighColor().GetColor32())) {
|
||||
return;
|
||||
} else if (pat == B_SOLID_LOW
|
||||
&& StraightLine(a, b, fPatternHandler.LowColor().GetColor32())) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user