本文整理汇总了C++中String_256::_MakeMsg方法的典型用法代码示例。如果您正苦于以下问题:C++ String_256::_MakeMsg方法的具体用法?C++ String_256::_MakeMsg怎么用?C++ String_256::_MakeMsg使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类String_256
的用法示例。
在下文中一共展示了String_256::_MakeMsg方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GetDebugDetails
void Chapter::GetDebugDetails(StringBase* Str)
{
NodeRenderablePaper::GetDebugDetails(Str);
String_256 TempStr;
TempStr._MakeMsg(TEXT("\r\nFoldLine X Coord = #1%ld\r\n"),
FoldLineXCoord);
(*Str)+=TempStr;
}
示例2: GetDebugDetails
void NodeSimpleShape::GetDebugDetails( StringBase* Str )
{
#ifdef _DEBUG
// Call base class
NodeRenderableInk::GetDebugDetails( Str );
InkPath.FindStartOfPath();
String_256 TempStr;
(*Str) += TEXT( "\r\nEllipse Path Data Dump\r\n" );
TempStr._MakeMsg( TEXT( "Parallelogram :-\r\n\t#1%ld,\t#2%ld\r\n")
TEXT("\t#3%ld,\t#4%ld\r\n")
TEXT("\t#5%ld,\t#6%ld\r\n")
TEXT("\t#7%ld,\t#8%ld\r\n"),
Parallel[0].x, Parallel[0].y,
Parallel[1].x, Parallel[1].y,
Parallel[2].x, Parallel[2].y,
Parallel[3].x, Parallel[3].y );
(*Str) += TempStr;
DocRect BlobRect = GetBlobBoundingRect();
TempStr._MakeMsg( TEXT("Blob Bounding Rect :-\r\n\t#1%ld,\t#2%ld\r\n\t#3%ld,\t#4%ld\r\n"),
BlobRect.lo.x, BlobRect.lo.y, BlobRect.hi.x, BlobRect.hi.y );
(*Str) += TempStr;
if ( InkPath.IsFilled )
(*Str) += TEXT( "The Path is Filled\r\n" );
(*Str) += TEXT( "\r\nNum\tType\tX Coord\tY Coord\r\n" );
PathVerb* Verbs = InkPath.GetVerbArray();
DocCoord* Coords = InkPath.GetCoordArray();
// PathFlags* Flags = InkPath.GetFlagArray();
for (INT32 i=0; i<InkPath.GetNumCoords(); i++)
{
// Add the info to the string
TempStr._MakeMsg( TEXT("#1%d.\t#2%d\t#3%ld,\t#4%ld\r\n"),
i, Verbs[i], Coords[i].x, Coords[i].y );
(*Str) += TempStr;
}
#endif
}