summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-03-26 14:41:12 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-03-27 09:58:21 +0100
commitd00c049d0221c5b63a6a423d5adc7933ac1e758d (patch)
tree1cb27e3e85a45f54a50d74a0bd89aa252e4c74d4 /include
parent1bbb499f88ef324a4526a74230851dd9a5325e19 (diff)
downloadnetsurf-d00c049d0221c5b63a6a423d5adc7933ac1e758d.tar.gz
netsurf-d00c049d0221c5b63a6a423d5adc7933ac1e758d.tar.bz2
Bitmap: Move bitmap pixel to colour macro to bitmap header.
Diffstat (limited to 'include')
-rw-r--r--include/netsurf/plot_style.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/netsurf/plot_style.h b/include/netsurf/plot_style.h
index bfc0805ea..875020cd8 100644
--- a/include/netsurf/plot_style.h
+++ b/include/netsurf/plot_style.h
@@ -201,10 +201,6 @@ typedef struct plot_font_style {
(((((c1 & 0x00ff00) * (255 - p)) + \
((c0 & 0x00ff00) * ( p)) ) >> 8) & 0x00ff00))
-/* get a bitmap pixel (image/bitmap.h) into a plot colour */
-#define pixel_to_colour(b) \
- b[0] | (b[1] << 8) | (b[2] << 16) | (b[3] << 24)
-
/* Get the red channel from a colour */
#define red_from_colour(c) \
((c ) & 0xff)