475 |
rdp_in_coord(s, &os->y, delta); |
rdp_in_coord(s, &os->y, delta); |
476 |
|
|
477 |
if (present & 0x04) |
if (present & 0x04) |
478 |
in_uint8(s, os->flags); |
in_uint8(s, os->opcode); |
479 |
|
|
480 |
if (present & 0x10) |
if (present & 0x10) |
481 |
rdp_in_colour(s, &os->fgcolour); |
rdp_in_colour(s, &os->fgcolour); |
488 |
in_uint8(s, os->datasize); |
in_uint8(s, os->datasize); |
489 |
in_uint8a(s, os->data, os->datasize); |
in_uint8a(s, os->data, os->datasize); |
490 |
} |
} |
|
if (os->flags & 1) |
|
|
opcode = ROP2_COPY; |
|
|
else |
|
|
opcode = ROP2_NXOR; |
|
491 |
|
|
492 |
DEBUG(("POLYLINE(x=%d,y=%d,fl=0x%x,fg=0x%x,n=%d,sz=%d)\n", |
DEBUG(("POLYLINE(x=%d,y=%d,op=0x%x,fg=0x%x,n=%d,sz=%d)\n", |
493 |
os->x, os->y, os->flags, os->fgcolour, os->lines, os->datasize)); |
os->x, os->y, os->opcode, os->fgcolour, os->lines, os->datasize)); |
494 |
|
|
495 |
DEBUG(("Data: ")); |
DEBUG(("Data: ")); |
496 |
|
|
499 |
|
|
500 |
DEBUG(("\n")); |
DEBUG(("\n")); |
501 |
|
|
502 |
|
if (os->opcode < 0x01 || os->opcode > 0x10) |
503 |
|
{ |
504 |
|
error("bad ROP2 0x%x\n", os->opcode); |
505 |
|
return; |
506 |
|
} |
507 |
|
|
508 |
|
opcode = os->opcode - 1; |
509 |
x = os->x; |
x = os->x; |
510 |
y = os->y; |
y = os->y; |
511 |
pen.style = pen.width = 0; |
pen.style = pen.width = 0; |