fontcurve.cpp
资源名称:fontcurve.rar [点击查看]
上传用户:sz81710966
上传日期:2013-03-01
资源大小:409k
文件大小:2k
源码类别:
多国语言处理
开发平台:
Visual C++
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- #include "stdafx.h"
- #include "fontcurve.h"
- /////////////////////////////////////////////////////////////////////////////
- // CFontCurve
- IMPLEMENT_DYNCREATE(CFontCurve, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CFontCurve properties
- /////////////////////////////////////////////////////////////////////////////
- // CFontCurve operations
- void CFontCurve::SetBackColor(unsigned long backColor)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- backColor);
- }
- void CFontCurve::SetGridLineColor(unsigned long gridlineColor)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- gridlineColor);
- }
- void CFontCurve::SetGridColor(unsigned long gridColor)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- gridColor);
- }
- void CFontCurve::SetGridHoriNum(short horiNum)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- horiNum);
- }
- void CFontCurve::SetGridVerNum(short verNum)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- verNum);
- }
- void CFontCurve::SetGridShowType(short showType)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- showType);
- }
- void CFontCurve::SetGridDrawType(short drawType)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- drawType);
- }
- BOOL CFontCurve::ShowGridData(BSTR* pInData, short nWidth, short nHeight, short nShowType)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_PBSTR VTS_I2 VTS_I2 VTS_I2;
- InvokeHelper(0x8, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- pInData, nWidth, nHeight, nShowType);
- return result;
- }