[haiku-bugs] Re: [Haiku] #12383: FillTrangle produces slightly different results if drawn in a BPicture

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Fri, 18 Sep 2015 19:04:18 -0000

#12383: FillTrangle produces slightly different results if drawn in a BPicture
----------------------------------+----------------------------
Reporter: jackburton | Owner: axeld
Type: bug | Status: new
Priority: low | Milestone: Unscheduled
Component: Servers/app_server | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+----------------------------
Description changed by jackburton:

Old description:

As shown by the FlattenPictureTest test, FillTriangle produces a slightly
different result when invoked inside a BPicture.
This happens because there is no FILL_TRIANGLE op in the BPicture
encoding, and it's handled using FillPolygon. Now, I'd expect that
FillPolygon(), when called with three points, would produce the same
output that FillTriangle does.

New description:

As shown by the FlattenPictureTest test, FillTriangle produces a slightly
different result when invoked inside a BPicture.
This happens because there is no FILL_TRIANGLE op in the BPicture
encoding, and FillTriangle is translated to a FillPolygon call. Now, I'd
expect that FillPolygon(), when called with three points, would produce
the same output that FillTriangle does.

--

--
Ticket URL: <https://dev.haiku-os.org/ticket/12383#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: