Wow! That looks so unprofessional too! That's one more reason for me to
abandon Windows for good.




Speaking of abandoning the Microsoft Monopoly, IUP, CD, and IM all support
Linux/BSD so long as they also support GTK+, right? Also, I looked over the
IUP source code for HaikuOS and it appears to be just a C wrapper for the
HaikuOS C++ functions, is that correct? I'm not sure how to compile that
though. Are there step-by-step instructions for how to do that somewhere using
a generic C compiler?




Thanks,

Andrew


On 2021-12-08 at 10:33 AM, Antonio Scuri <antonio.sc...@gmail.com> wrote:


 And will never be resolved... For some time now we have created workarounds
in some controls for problems in Win32 API that are never changed because of
backward compatibility, I guess.



Em qua., 8 de dez. de 2021 às 14:30, Andrew Robinson <arobinso...@cox.net>
escreveu:




Well that's cool. What you are implying is that Microsoft Windows has a
long-term flaw (or bug) that has never been resolved!


On 2021-12-08 at 9:45 AM, Antonio Scuri <antonio.sc...@gmail.com> wrote:



  Ok So you are actually using the Win32 based driver.



  We use native functions to do the drawing. Text drawing is done by TextOut
Win32 api function. Whe text orientation is used we simply use CreateFont with
an angle parameter.




  So there isn't much I can do.




Best,

Scuri






Em ter., 7 de dez. de 2021 11:43, Andrew Robinson <arobinso...@cox.net>
escreveu:




Sorry about that. I told you I'm new to this ... anyways, it's CD_IUP.


On 2021-12-07 at 6:46 AM, Antonio Scuri <antonio.sc...@gmail.com> wrote:


You did when you call the cdCreateCanvas function, the parameter is the
driver. And if cdUseContextPlus is called.



Em ter., 7 de dez. de 2021 às 10:44, Andrew Robinson <arobinso...@cox.net>
escreveu:




I presume it would have to be the default for Windows since I don't every
specify one.


On 2021-12-06 at 4:34 PM, Antonio Scuri <antonio.sc...@gmail.com> wrote:


  Which Driver?



Em seg., 6 de dez. de 2021 às 19:41, Andrew Robinson <arobinso...@cox.net>
escreveu:




Ola Antonio,




I'm using cdCanvasTextOrientation and I see a flaw with the algorithm used.
When I rotate the text "Strength" by 45.0 degrees, I get the following result:









The characters are no longer aligned and the spacing between the characters
has changed. A 180 degree rotation has no issues, just all the ones inbetween
0 and 180.




Thanks,

Andrew




I'm using Win10, CD v5.11.1, and I'm using a cdCanvasFont of "Courier",
CD_BOLD, 10 pixels.
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to