Edge of a PtEllipse widget ( Circle ) in touch screen

I draw a PtEllipse widget ( circle ) with pen color “black”, filling
color “red”, the background
color is also black.

The edge of the circle seems to be ugly, not smooth, a bit zig-zag. I
think of the problem is
filling algorithm in Pg* Library.

( carrol touch screen: 640x480 )

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com

Hey WeiBing

Try changing the pen colour to “transparent”. It should make it look a little better. The PtEllipse does have some known issues with it.

Thanks
Rodney



Previously, WeiBing Tong wrote in qdn.public.qnxrtp.photon:

I draw a PtEllipse widget ( circle ) with pen color “black”, filling
color “red”, the background
color is also black.

The edge of the circle seems to be ugly, not smooth, a bit zig-zag. I
think of the problem is
filling algorithm in Pg* Library.

( carrol touch screen: 640x480 )

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com

Hello Ron

Why can’t you change the indicator type of the toggle button widget to Pt_TOGGLE_RADIO? Is it to small for you?

Rodney


Previously, Ron Groenenberg wrote in qdn.public.qnxrtp.photon:

We are seeing a problem that sounds related. If the ellipse is exactly a circle, the border (pen) shows 2 transparent (circular) blotches; at
the top and left side. It is most evident with wide line widths.
The reason I care is we want ‘radio’ buttons, but am unsure how you’d suggest building them.
(FWIW, I searched previous posts and QUICS but see no mention of this. It may only affect QNX4.2x with Ph1.13D.)

Ron

Rodney Dowdall wrote:

Hey WeiBing

Try changing the pen colour to “transparent”. It should make it look a little better. The PtEllipse does have some known issues with it.

Thanks
Rodney

Previously, WeiBing Tong wrote in qdn.public.qnxrtp.photon:

I draw a PtEllipse widget ( circle ) with pen color “black”, filling
color “red”, the background
color is also black.

The edge of the circle seems to be ugly, not smooth, a bit zig-zag. I
think of the problem is
filling algorithm in Pg* Library.

( carrol touch screen: 640x480 )

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com


\

We are seeing a problem that sounds related. If the ellipse is exactly a circle, the border (pen) shows 2 transparent (circular) blotches; at
the top and left side. It is most evident with wide line widths.
The reason I care is we want ‘radio’ buttons, but am unsure how you’d suggest building them.
(FWIW, I searched previous posts and QUICS but see no mention of this. It may only affect QNX4.2x with Ph1.13D.)

Ron

Rodney Dowdall wrote:

Hey WeiBing

Try changing the pen colour to “transparent”. It should make it look a little better. The PtEllipse does have some known issues with it.

Thanks
Rodney

Previously, WeiBing Tong wrote in qdn.public.qnxrtp.photon:

I draw a PtEllipse widget ( circle ) with pen color “black”, filling
color “red”, the background
color is also black.

The edge of the circle seems to be ugly, not smooth, a bit zig-zag. I
think of the problem is
filling algorithm in Pg* Library.

( carrol touch screen: 640x480 )

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com

There are known issues with polygons and ellipses. They are on our
to-do list.

In the meantime, drawing with only fill enabled (ie Pg_DRAW_FILL only)
will make the problem less apparent.

WeiBing Tong <wbtong@aquilamsl.com> wrote:

I draw a PtEllipse widget ( circle ) with pen color “black”, filling
color “red”, the background
color is also black.

The edge of the circle seems to be ugly, not smooth, a bit zig-zag. I
think of the problem is
filling algorithm in Pg* Library.

( carrol touch screen: 640x480 )

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com