Changeset 1433ecda in mainline for uspace/lib/c/include/io/pixelmap.h
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/pixelmap.h
r47b2d7e3 r1433ecda 81 81 82 82 static inline void pixelmap_put_pixel( 83 pixelmap_t * 83 pixelmap_t *pixelmap, 84 84 sysarg_t x, 85 85 sysarg_t y, … … 112 112 x %= pixmap->width; 113 113 y %= pixmap->height; 114 } 115 else if (extend == PIXELMAP_EXTEND_SIDES || 114 } else if (extend == PIXELMAP_EXTEND_SIDES || 116 115 extend == PIXELMAP_EXTEND_TRANSPARENT_SIDES) { 117 116 bool transparent_outside = … … 120 119 x = 0; 121 120 transparent = transparent_outside; 122 } 123 else if (((sysarg_t) x) >= pixmap->width) { 121 } else if (((sysarg_t) x) >= pixmap->width) { 124 122 x = pixmap->width - 1; 125 123 transparent = transparent_outside; … … 129 127 y = 0; 130 128 transparent = transparent_outside; 131 } 132 else if (((sysarg_t) y) >= pixmap->height) { 129 } else if (((sysarg_t) y) >= pixmap->height) { 133 130 y = pixmap->height - 1; 134 131 transparent = transparent_outside;
Note:
See TracChangeset
for help on using the changeset viewer.