| |

VerySource

 Forgot password?
 Register
Search
View: 756|Reply: 2

The problem of image and text composition,

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-3-17 11:00:01
| Show all posts |Read mode
I now use windows.TextOut when displaying text, the background is an image,
I find that in this case, zooming in and out is very difficult to control.
So I want to write the words directly to image.picture.bitmap, so that I can control it.
Please help me, thank you all.
Reply

Use magic Report

0

Threads

14

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-6-19 01:30:01
| Show all posts
image1.Canvas.TextOut(.....);
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 United States

Post time: 2020-7-22 12:30:01
| Show all posts
image1.Canvas.Brush.Style := bsClear;
image!.Canvas.textout(...)

That's it...
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list