Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 OnPaint() 中的 GDI+ 图形类构建窗口。由于 DrawPath() 函数需要 GraphicsPath,有没有办法获取窗口的 GraphicsPath?
为什么不DrawRectangle(Pen*,Rect&)改用。它只需要一个矩形,您可以使用GetClientRect().
DrawRectangle(Pen*,Rect&)
GetClientRect()