19,468
社区成员
发帖
与我相关
我的任务
分享
GDI+的代码是:
StringFormat sf;
sf.SetAlignment(StringAlignmentNear);
graph.DrawString(wstr, converted, pCompFont, pointf, &sf, pCompBrush);
graph.DrawRectangle(pPen, rcfComp.X, rcfComp.Y, rcfComp.Width, rcfComp.Height);