📄 67052
字号:
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!gatech!asuvax!ncar!vexcel!copper!slate!agallaghFrom: agallagh@slate.mines.colorado.edu (GALLAGHER ANDREA J )Newsgroups: comp.windows.xSubject: XAllocColor fails to return nearest matchMessage-ID: <1993Apr20.091946.54297@slate.mines.colorado.edu>Date: 20 Apr 93 09:19:46 GMTReply-To: ngorelic@speclab.cr.usgs.govOrganization: Colorado School of MinesLines: 23[posted for a friend]Okay, I looked through the FAQs and didn't see this, but I know itscome up before...XAllocColor is supposed to do the following in order: Try to find an exact match read-only color cell. (within hardware limits) Try to allocate a read-only colorcell and set it to match. and when all else fails, Return the colorcell with the best match from the read-only colors already allocated in the colormap.This sounds good in theory. It doesn't seem to work this waythough. If there is no exact match already in the colormap, and no unallocated cells, then XAllocColor fails, even when it has already allocated several other cells already, and there are dozens of read-only cells already in the colormap.Is this a bug? A feature? A misunderstanding on my part?Any help appreciated,Noel (ngorelic@speclab.cr.usgs.gov)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -