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.
我正在更新一些旧的 GDI 代码,我想切换到使用 DC_PEN 和 SetDCPenColor() 来显着提升性能。
不幸的是,旧代码使用 PS_INSIDEFRAME 而不是 PS_SOLID 创建它的笔。PS_INSIDEFRAME 创建一个实心笔,但在绘制矩形时,坐标的处理方式也略有不同。
有没有办法可以更新 DC_PEN 以将这种样式用于我的 DC?
Errors running test:units! #<RuntimeError: Command failed with status (1): [ruby -I"lib:test" -I"/Users/jake/.rvm/gems/ruby-1.9.3-p286/gems/