mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
More code cleanup
Patch 7 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
This commit is contained in:
parent
fc83343133
commit
7da2041cfd
19 changed files with 198 additions and 313 deletions
|
@ -256,11 +256,9 @@ int ps_plot(struct zint_symbol *symbol)
|
|||
dy = my - 1.0 + yoffset;
|
||||
ey = my - 0.5 + yoffset;
|
||||
fy = my + 0.5 + yoffset;
|
||||
if(r % 2 == 1) {
|
||||
mx = (2.46 * i) + 1.23 + 1.23;
|
||||
} else {
|
||||
mx = (2.46 * i) + 1.23;
|
||||
}
|
||||
|
||||
mx = 2.46 * i + 1.23 + (r & 1 ? 1.23 : 0);
|
||||
|
||||
ax = mx + xoffset;
|
||||
bx = mx + 0.86 + xoffset;
|
||||
cx = mx + 0.86 + xoffset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue