From: Xiang H. H. <hux...@ho...> - 2002-09-19 02:54:51
|
enjoy. Atitude Is Everything ! _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
From: Paul B. <pa...@oz...> - 2002-09-20 00:10:48
|
Hello everybody. IMHO, polyline order contains a pen. So process_polyline should be something like that: if (present & 0x01) rdp_in_coord(s, &os->x, delta); if (present & 0x02) rdp_in_coord(s, &os->y, delta); rdp_parse_pen(s, &os->pen, present >> 2); if (present & 0x20) in_uint8(s, os->lines); Best regards, Paul. |
From: Matt C. <mat...@cs...> - 2002-09-20 07:53:03
|
Hi Paul, That's feasible. What made me think that it might be a ROP2 is that PowerLogic was expecting XOR drawing and this was resulting in a "flags" field of 7. I have no idea whether a brush style of 7 would be XOR. Do you have counter-evidence to suggest it's a pen? Matt On Fri, Sep 20, 2002 at 09:09:58AM +0900, Paul Bludov wrote: > Hello everybody. > > IMHO, polyline order contains a pen. So process_polyline should be something > like that: > > if (present & 0x01) > rdp_in_coord(s, &os->x, delta); > > if (present & 0x02) > rdp_in_coord(s, &os->y, delta); > > > rdp_parse_pen(s, &os->pen, present >> 2); > > if (present & 0x20) > in_uint8(s, os->lines); > > > Best regards, > Paul. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > rdesktop-devel mailing list > rde...@li... > https://lists.sourceforge.net/lists/listinfo/rdesktop-devel |
From: Paul B. <pa...@oz...> - 2002-09-20 11:07:17
|
> Hi Paul, > > That's feasible. What made me think that it might be a ROP2 is that PowerLogic > was expecting XOR drawing and this was resulting in a "flags" field of 7. I have > no idea whether a brush style of 7 would be XOR. Do you have counter-evidence > to suggest it's a pen? Here there should be a pen, as in the line order. But I could not force the server to send a polyline order, if a line is not solid and not thin. Thereby, there is no pen style & with in the polyline order. I'm was wrong, sorry. But there is ROP2 code, as you assumed. Paul. |
From: Ed P. <ed...@ne...> - 2002-09-20 12:35:21
|
I actually think polyline order has an "opcode" similar to the line order: if (present & 0x01) rdp_in_coord (s, &os->x, delta); if (present & 0x02) rdp_in_coord (s, &os->y, delta); if (present & 0x04) in_uint8 (s, os->opcode); if (present & 0x10) rdp_in_colour (s, &os->fgcolour); if (present & 0x20) in_uint8 (s, os->lines); ... ui_line (os->opcode - 1, xfrom, yfrom, x, y, &pen); Ed ----- Original Message ----- From: "Matt Chapman" <mat...@cs...> To: "Paul Bludov" <pa...@oz...> Cc: <rde...@li...> Sent: Friday, September 20, 2002 3:52 AM Subject: Re: [rdesktop-devel] The polyline "flags" field seems like it might be a ROP2 > Hi Paul, > > That's feasible. What made me think that it might be a ROP2 is that PowerLogic > was expecting XOR drawing and this was resulting in a "flags" field of 7. I have > no idea whether a brush style of 7 would be XOR. Do you have counter-evidence > to suggest it's a pen? > > Matt > > > On Fri, Sep 20, 2002 at 09:09:58AM +0900, Paul Bludov wrote: > > Hello everybody. > > > > IMHO, polyline order contains a pen. So process_polyline should be something > > like that: > > > > if (present & 0x01) > > rdp_in_coord(s, &os->x, delta); > > > > if (present & 0x02) > > rdp_in_coord(s, &os->y, delta); > > > > > > rdp_parse_pen(s, &os->pen, present >> 2); > > > > if (present & 0x20) > > in_uint8(s, os->lines); > > > > > > Best regards, > > Paul. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > rdesktop-devel mailing list > > rde...@li... > > https://lists.sourceforge.net/lists/listinfo/rdesktop-devel > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > rdesktop-devel mailing list > rde...@li... > https://lists.sourceforge.net/lists/listinfo/rdesktop-devel |