![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-31 11:27 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » [Help] Handling text in TURBO C programming? |
| Printable Version 921 / 7 |
| Floor1 sunny1979 | Posted 2003-10-16 00:00 |
| 初级用户 Posts 86 Credits 376 | |
|
When I'm making an interface, I want to smoothly enlarge the title text. Could some expert tell me how to do it? Thanks!
|
|
| Floor2 qb45 | Posted 2003-10-16 00:00 |
| 高级用户 Posts 194 Credits 677 | |
|
Does your program need support from the UCDOS system? Please explain.
If it's simple, that's one thing; if not, it's much more complicated! |
|
| Floor3 lemonhall | Posted 2003-10-16 00:00 |
| 高级用户 Posts 183 Credits 639 | |
|
Smooth enlargement? Is it an animation process? Is it Chinese or English? You'd better make the question a bit clearer!
|
|
| Floor4 sunny1979 | Posted 2003-10-17 00:00 |
| 初级用户 Posts 86 Credits 376 | |
|
UCDOS is optional. I want to display Chinese characters in size-3, not animation, just a static title. I only know that dot-matrix or vector enlargement can be used, but I'm not very clear on how exactly to do it! Please give me some advice! Thanks!
|
|
| Floor5 qb45 | Posted 2003-10-17 00:00 |
| 高级用户 Posts 194 Credits 677 | |
|
With UCDOS, load the special display programs RDSL, TX
Call it in the following format: printf("\16" ![]() Here h = the height of the Chinese characters w = the width of the Chinese characters n = the font number n1 = foreground color n2 = background color For example: printf("\16" ![]() Since I haven't studied programming languages, please verify this! |
|
| Floor6 lemonhall | Posted 2003-10-17 00:00 |
| 高级用户 Posts 183 Credits 639 | |
|
Why make it so troublesome? Just draw a size-3 font title under WINDOWS first (256 colors or whatever is fine),
then use C language to "draw" that BMP file onto the screen, and that's it. It will definitely look good; even vector fonts can't achieve that effect. |
|
| Floor7 sunny1979 | Posted 2003-10-18 00:00 |
| 初级用户 Posts 86 Credits 376 | |
|
I'll give it a try. Many thanks, everyone!
|
|
| Floor8 sunny1979 | Posted 2003-10-20 00:00 |
| 初级用户 Posts 86 Credits 376 | |
|
I tried it, but there are a lot of problems. Is there any material on this that I could use for reference? Many thanks!!!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |