commit | da8e4289776316bf2d13dc5fcb83def745ee3810 | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue Nov 21 00:53:50 2023 -0500 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue Nov 21 00:53:50 2023 -0500 |
tree | b2809c2ed2c1288dcc622250a2bd1e009667c7ea | |
parent | d7c72ff919152959e25096d235bd2ad4b37552ed [diff] |
[raster] Rearrange dropout control. This reduces the code duplication. * src/raster/ftraster.c (Function_Sweep_Span): Change signature. (Vertical_Sweep_Drop, Horizontal_Sweep_Drop): Focus on pixel setting and move duplicated the dropout control logic to... (Draw_Sweep): ... this function and refactor. (Vertical_Sweep_Span, Horizontal_Sweep_Span): Minor.