Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Bug: Missing width in DrawArc on X11
Bug: Missing width in DrawArc on X11 [message #35763] Sat, 17 March 2012 22:28 Go to previous message
steffen is currently offline  steffen
Messages: 38
Registered: May 2007
Location: Denmark
Member

Hi,

I am working on a set of widgets for an embedded touch screen project I recently started. First running on x86, but it should end up running on an Arm9 board currently under development.

I am trying to make some widgets with round corners and ran into a problem with DrawArc.

It seems like SystemDraw::DrawArcOp in DrawOpX11.cpp is not using the width parameter.
I think it is mising a call to SetLineStyle.

When I add the following to my paint function, it works:
((SystemDraw&)w).SetLineStyle(3);

Is there a reason that SetLineStyle is not part of Draw? The type casting seems a bit ugly.

Regards,
Steffen

Edit:
I'm using Upp-4193 on Ubuntu 10.10 64-bit.

[Updated on: Mon, 19 March 2012 22:47]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Centering text in a rectange
Next Topic: Problem in dasher.cpp and proposed solution
Goto Forum:
  


Current Time: Wed Apr 24 10:16:23 CEST 2024

Total time taken to generate the page: 0.03882 seconds