Solved

Font setcolor

Posted on 1999-01-02
3
462 Views
Last Modified: 2013-12-03
I have my font unit, it stores each letter in pointer.
For setcolor I tried to go through all pointers, and if encountered current color, change it to new. But it's extremely slow. What should I do ?
0
Comment
Question by:mitya83
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
jack_p50 earned 0 total points
ID: 1216796
Hey, that's simple! Just add to your putimage routine such thing : when plotting pixel, plot not it's color, but some transtable[it's color], and in transtable you should set on default font color's index needed color. That's all.
0
 

Author Comment

by:mitya83
ID: 1216797
Thanks. I like people who answer fast.
0
 
LVL 4

Expert Comment

by:jack_p50
ID: 1216798
And I like people who accepts answer fast ;)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SEO can be a real minefield to navigate, but there are three simple ways to up your SEO game just be re-assessing your content output.
An article on effective troubleshooting
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question