wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.08k stars 1.76k forks source link

Hatch Pens not working in wxGTK when NOT using graphics context #11983

Open wxtrac opened 14 years ago

wxtrac commented 14 years ago

Issue migrated from trac ticket # 11983

component: wxGTK | priority: low | keywords: wxGTK Hatch Pens

2010-04-23 07:42:36: KitBishop (Kit Bishop) created the issue


It would seem that hatch pens do not work under wxGTK when not using Graphics Context.

Just try drawing sample File > Lines Screen with File > Use GraphicContext OFF

wxtrac commented 14 years ago

2010-05-06 01:00:17: KitBishop (Kit Bishop) commented


Does anyone have any thoughts about how this could be handled?  I can't actually see where the problem is despite some digging.

wxtrac commented 14 years ago

2010-05-06 14:22:26: @vadz changed priority from normal to low

2010-05-06 14:22:26: @vadz changed status from new to confirmed

2010-05-06 14:22:26: @vadz commented

I don't think X11/GDK supports this at all. IOW there is really no way of making this work without implementing line drawing algorithm ourselves.

wxtrac commented 14 years ago

2010-05-06 14:22:57: @vadz commented


(In [64224]) Mention that hatched pens don't work under wxGTK and wxX11.

See #11983.

wxtrac commented 14 years ago

2010-05-07 01:09:57: KitBishop (Kit Bishop) commented


OK, I'm happy to leave it at that for now.  It's not a big deal for me - just happened to notice it when working on hatch pens for graphics context.