[haiku-bugs] Re: [Haiku] #2945: BGradient draws junk when endpoints are not fully defined

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Sep 2012 20:36:12 -0000

#2945: BGradient draws junk when endpoints are not fully defined
----------------------------------+---------------------------
   Reporter:  sdeken              |      Owner:  aldeck
       Type:  bug                 |     Status:  in-progress
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/pre-alpha1
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+---------------------------

Comment (by axeld):

 Replying to [comment:3 aldeck]:
 > Will fix soon. Btw what's the opinion about making the range 0.0f - 1.0f
 ? it's already a float.

 Makes sense to me, at least.

 > Also, an out of range value (v < 0 or  v > 255) crashes the app server.
 We need some validity checking.

 Sounds like it :-)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/2945#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: