mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 23:39:24 +02:00
LCL: Implemented ETO_RTLREADING for TCanvas.TextOut(). issue #30514
git-svn-id: trunk@53825 -
This commit is contained in:
parent
29e4421f5a
commit
dc36528c42
@ -1357,6 +1357,8 @@ begin
|
||||
Flags := 0;
|
||||
if TextStyle.Opaque then
|
||||
Flags := ETO_Opaque;
|
||||
if TextStyle.RightToLeft then
|
||||
Flags := Flags or ETO_RTLREADING;
|
||||
ExtUTF8Out(FHandle, X, Y, Flags, nil, PChar(Text), Length(Text), nil);
|
||||
MoveTo(X + TextWidth(Text), Y);
|
||||
Changed;
|
||||
|
@ -224,6 +224,7 @@ type
|
||||
const
|
||||
ETO_OPAQUE = 2;
|
||||
ETO_CLIPPED = 4;
|
||||
ETO_RTLREADING = 128;
|
||||
|
||||
CS_VREDRAW = dword(1);
|
||||
CS_HREDRAW = dword(2);
|
||||
|
Loading…
Reference in New Issue
Block a user