Font rotate problems

Post Reply
User avatar
Silvio.Falconi
Posts: 7257
Joined: Thu Oct 18, 2012 7:17 pm
Has thanked: 2 times
Been thanked: 30 times

Font rotate problems

Post by Silvio.Falconi »

I not understood how rotate a font
please try this test

Image

Code: Select all | Expand

#include "FiveWin.ch"

Function test()
local oDLg
local ctest := " SILVIO "
local oFont

*oFont := TFont():New( "Verdana", 0, -14, , .T.) //90,180,270,900,2700
DEFINE FONT oFont NAME "Arial" SIZE 0, -25 NESCAPEMENT 900

   DEFINE DIALOG oDlg TITLE "Test font" SIZE 400,400 PIXEL TRUEPIXEL

   @ 10,10 say ctest SIZE 40,200 of oDlg PIXEL FONT oFont  BORDER

   ACTIVATE DIALOG oDlg
   

RETURN NIL
I tried also with oFont:rotate(number)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Post Reply