游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2384|回复: 3

请教,怎样在directdraw中显示文字

[复制链接]

14

主题

45

帖子

45

积分

注册会员

Rank: 2

积分
45
发表于 2005-3-12 15:47:00 | 显示全部楼层 |阅读模式
如题,哪位高手知道的话,请告诉一下,多谢!

1

主题

21

帖子

21

积分

注册会员

Rank: 2

积分
21
发表于 2005-3-12 17:56:00 | 显示全部楼层

Re:请教,怎样在directdraw中显示文字

The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color

BOOL TextOut(
  HDC hdc,           // handle to DC
  int nXStart,       // x-coordinate of starting position
  int nYStart,       // y-coordinate of starting position
  LPCTSTR lpString,  // character string
  int cbString       // number of characters
);

63

主题

871

帖子

891

积分

高级会员

Rank: 4

积分
891
QQ
发表于 2005-3-12 18:01:00 | 显示全部楼层

Re:请教,怎样在directdraw中显示文字

也可以自己读点阵字库

14

主题

45

帖子

45

积分

注册会员

Rank: 2

积分
45
 楼主| 发表于 2005-3-14 11:12:00 | 显示全部楼层

Re: 请教,怎样在directdraw中显示文字

楼上的能否说的详细一些?点阵字库是什么?又怎样去读他?我是新手啊!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-12-24 20:13

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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