Changeset 472 for GraphicTest/Packages/bgrabitmap/filldensitysegment256.inc
- Timestamp:
- Apr 9, 2015, 9:58:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/Packages/bgrabitmap/filldensitysegment256.inc
r452 r472 13 13 14 14 if ix1 = ix2 then 15 (density + (ix1 - minx))^ += round((x2 -x1)*256)15 (density + (ix1 - minx))^ += round((x2-ix2)*256) - round((x1-ix1)*256) 16 16 else 17 17 begin 18 (density + (ix1 - minx))^ += round((1 - (x1 - ix1))*256);18 (density + (ix1 - minx))^ += 256 - round((x1 - ix1)*256); 19 19 if (ix2 <= maxx) then 20 20 (density + (ix2 - minx))^ += round((x2 - ix2)*256);
Note:
See TracChangeset
for help on using the changeset viewer.