• 大小: 38KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-02
  • 标签:

资源简介

文本合成技术,C++将文本字符串转换成BMP图片

资源截图

代码片段和文件信息

// AddTextDlg.cpp : implementation file
//

#include “stdafx.h“
#include “Test.h“
#include “AddTextDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAddTextDlg dialog

CAddTextDlg::CAddTextDlg(CWnd* pParent /*=NULL*/)
: CDialog(CAddTextDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CAddTextDlg)
m_strText = _T(““);
//}}AFX_DATA_INIT
m_strBmpFilePath = ““;
ZeroMemory(&m_bmpIfHi sizeof(BITMAPINFOHEADER));
m_dwSize = 0;
m_lpDIBits = NULL;
}

void CAddTextDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAddTextDlg)
DDX_Control(pDX IDC_EDIT_TEXT m_edtText);
DDX_Control(pDX IDC_STA

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4000  2004-04-28 14:09  textTObmp\AddTextDlg.cpp

     文件       1671  2004-04-28 13:55  textTObmp\AddTextDlg.h

     文件      15634  2010-04-23 08:55  textTObmp\BmpShow.cpp

     文件       2653  2004-04-28 13:53  textTObmp\BmpShow.h

     文件       2792  2004-04-15 14:12  textTObmp\RectTrackerEx.cpp

     文件       1575  2004-04-14 14:31  textTObmp\RectTrackerEx.h

     文件       1078  2004-04-12 09:44  textTObmp\res\Test.ico

     文件        396  2004-04-12 09:44  textTObmp\res\Test.rc2

     文件        911  2004-04-15 14:05  textTObmp\Resource.h

     文件        206  2004-04-12 09:44  textTObmp\StdAfx.cpp

     文件       1054  2004-04-12 09:44  textTObmp\StdAfx.h

     文件      21148  2010-04-23 08:59  textTObmp\Test.aps

     文件       1699  2010-04-23 14:43  textTObmp\Test.clw

     文件       2035  2004-04-12 09:44  textTObmp\Test.cpp

     文件       4516  2004-04-14 14:36  textTObmp\Test.dsp

     文件        533  2004-04-28 20:02  textTObmp\Test.dsw

     文件       1302  2004-04-12 09:44  textTObmp\Test.h

     文件      82944  2010-04-23 14:43  textTObmp\Test.ncb

     文件      53760  2010-04-23 14:43  textTObmp\Test.opt

     文件       1141  2010-04-23 08:55  textTObmp\Test.plg

     文件       5850  2004-04-28 09:29  textTObmp\Test.rc

     文件       4548  2004-04-13 08:47  textTObmp\TestDlg.cpp

     文件       1353  2004-04-14 10:30  textTObmp\TestDlg.h

     目录          0  2004-04-28 14:41  textTObmp\res

     目录          0  2010-09-10 09:19  textTObmp

----------- ---------  ---------- -----  ----

               212799                    25


评论

共有 条评论

相关资源