Пример #1
0
void
picture_rep::internal_copy_from (int x, int y, picture src,
                                 int x1, int y1, int x2, int y2)
{
    for (int yy= y1; yy < y2; yy++)
        for (int xx= x1; xx < x2; xx++)
            internal_set_pixel (x + xx, y + yy, src->internal_get_pixel (xx, yy));
}
Пример #2
0
 inline void  set_pixel (int x, int y, color c) {
   internal_set_pixel (x + get_origin_x (), y + get_origin_y (), c); }