c51c5df2ff
(freerdp_color_convert_drawing_order_color_to_gdi_color): Declare new function. * libfreerdp/codec/color.c: (freerdp_color_convert_drawing_order_color_to_gdi_color): Implement. (freerdp_image_convert_8bpp): Properly use the ARGB32/ABGR32/RGB32/BGR32 macros when converting 8bpp data to 32bpp. (freerdp_image_convert_32bpp): Fix CLRCONV_ALPHA and CLRCONV_INVERT processing for 32bpp destination. (freerdp_mono_image_convert): Use ARGB32/ABGR32 when converting to 32bpp and CLRCONV_ALPHA is set. * libfreerdp/core/orders.c: Color data from drawing orders is interpreted in big endian mode. * libfreerdp/core/update.c (update_read_palette): Likewise. * libfreerdp/gdi/16bpp.c (gdi_get_color_16bpp): GDI colors are stored as RGB now. * libfreerdp/gdi/32bpp.c (gdi_get_color_32bpp): Likewise. * libfreerdp/gdi/gdi.c: Use freerdp_color_convert_drawing_order_color_to_gdi_color() to convert from drawing order color representation to GDI color representation troughout. * libfreerdp/gdi/graphics.c (gdi_Glyph_BeginDraw): Likewise. (gdi_Glyph_EndDraw): Likewise. |
||
---|---|---|
.. | ||
include | ||
test | ||
8bpp.c | ||
16bpp.c | ||
32bpp.c | ||
bitmap.c | ||
brush.c | ||
clipping.c | ||
CMakeLists.txt | ||
dc.c | ||
drawing.c | ||
gdi.c | ||
gdi.h | ||
graphics.c | ||
graphics.h | ||
line.c | ||
palette.c | ||
pen.c | ||
region.c | ||
shape.c |