游戏开发论坛

 找回密码
 立即注册
搜索
查看: 5119|回复: 2

wglUseFontBitmaps的困扰。请帮忙

[复制链接]

1

主题

7

帖子

7

积分

新手上路

Rank: 1

积分
7
发表于 2006-11-15 18:18:00 | 显示全部楼层 |阅读模式
BOOL wglUseFontBitmaps(
  HDC  hdc,         // device context whose font will be used
  DWORD  first,     // glyph that is the first of a run of glyphs to
                    // be turned into bitmap display lists
  DWORD  count,     // number of glyphs to turn into bitmap display
                    // lists
  DWORD  listBase   // specifies starting display list
);
wglUseFontBitmaps(hDC,32,96,base)这里的第二个参数表示什么呢。我看了英文的解释。可我理解不了。。假如说改变了它。输出的字符就变了。。

41

主题

184

帖子

184

积分

注册会员

Rank: 2

积分
184
发表于 2006-11-16 14:19:00 | 显示全部楼层

Re: wglUseFontBitmaps的困扰。请帮忙

wglUseFontBitmap
为当前选中的GDI字体创建一组OpenGL显示列表位图字体
BOOL wglUseFontBitmap(HDC hDC, DWORD dwFirst, DWORD dwCount, DWORD dwListBase);

参数
hDC
设备环境句柄

dwFirst
用于创建显示列表字体的第一个字符的ASCII值

dwCount
字符数

dwListBase
第一个显示列表的名称

返回值
成功返回TRUE,否则返回FALSE

1

主题

7

帖子

7

积分

新手上路

Rank: 1

积分
7
 楼主| 发表于 2006-11-18 16:13:00 | 显示全部楼层

Re: wglUseFontBitmaps的困扰。请帮忙

多谢。我已明白些
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-25 22:14

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表