Ignore:
Timestamp:
Apr 9, 2015, 9:58:36 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: Use csOpaque control style also to Image, PaintBox and OpenGLControl.
  • Modified: Change size of test frame with SpinEdits as delayed using timer.
  • Updated: BRGABitmap package to version 8.1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Packages/bgrabitmap/filldensitysegment256.inc

    r452 r472  
    1313
    1414      if ix1 = ix2 then
    15         (density + (ix1 - minx))^ += round((x2 - x1)*256)
     15        (density + (ix1 - minx))^ += round((x2-ix2)*256) - round((x1-ix1)*256)
    1616      else
    1717      begin
    18         (density + (ix1 - minx))^ += round((1 - (x1 - ix1))*256);
     18        (density + (ix1 - minx))^ += 256 - round((x1 - ix1)*256);
    1919        if (ix2 <= maxx) then
    2020          (density + (ix2 - minx))^ += round((x2 - ix2)*256);
Note: See TracChangeset for help on using the changeset viewer.