Solved

Font setcolor

Posted on 1999-01-02
3
463 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Ransomware continues to grow in reach and sophistication, putting data everywhere at risk. Learn how to avoid being caught in its sinister clutches with these 11 key tips.
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…

820 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