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