🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.program
1 messages
1 total messages Started by asdf Mon, 29 Dec 1997 00:00
Re: ���⣺����Ƶ�������ʽ��
#2343
Author: asdf
Date: Mon, 29 Dec 1997 00:00
31 lines
1983 bytes
�� �� Pineapple_Tity.pbbs@bbs.nju.edu.cn (Pineapple Tity) �Ĵ������ᵽ: ��
�ٶ���Σ� �� 720��576��ͼ��ÿ�����ʾ���ٷ�

: �ϻ� ��� ˵��...
: ������DrawDib����д��һ��������Ҫ�Ĺ��ܾ��Ƕ�RAW��ʽ��BMP��ʽ
: ����ݽ�����Ƶ��ʾ�����еIJ����ǣ�
:         1����DrawDibOpen()�õ�һ��DrawDib DC����m_hDrawDib=
:         DrawDibOpen()����DC��������DrawDib�������õ���
:         2����OnDraw()����ӣ�
:         DrawDibRealize(m_hDrawDib,pDC->GetSafeHdc(),TRUE);
:         DrawDibDraw(m_hDrawDib,pDC->GetSafeHdc(),
:                 0,
:                 0,
:                 nWidth,
:                 nHeight,
:                 (BITMAPINFOHEADER*)m_pDIB,
:                 lpBits,
:                 0,
:                 0,
:                 ((BITMAPINFOHEADER*)m_pDIB)->biWidth,
:                 ((BITMAPINFOHEADER*)m_pDIB)->biHeight,
:                 DDF_BACKGROUNDPAL);
:         ����m_pDIB��ָ��BITMAPINFOHEADER��ָ�룬����RAW���ʱ��Ҫ
:         �Լ������й���Ϣ������BMP���ʱ����BMP��BITMAPFILEHEADER
:         ������lpBits�����ָ�롣             
:  ����


--
�� ��Դ:����ˮ˼Դվ bbs.sjtu.edu.cn��[FROM: 202.120.7.64]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads