20 #include "environment.h" 22 #include "pedigree/native/graphics/Graphics.h" 24 #include <cairo/cairo.h> 26 DirtyRectangle::DirtyRectangle() : m_X(~0), m_Y(~0), m_X2(0), m_Y2(0)
30 DirtyRectangle::~DirtyRectangle()
34 void DirtyRectangle::point(
size_t x,
size_t y)
50 ret.r = (col1.r * a + col2.r * (256 - a)) / 256;
51 ret.g = (col1.g * a + col2.g * (256 - a)) / 256;
52 ret.b = (col1.b * a + col2.b * (256 - a)) / 256;