|
如题,我在.Net中使用Managed DirectX,用到了Direct3D::Font: rawText这个
然后有下面两个重载
DrawText(Sprite ^sprite,String ^text,Rectangle rect,DrawTextFormat format,Color color);
DrawText(Sprite ^sprite,String ^text,Rectangle %rect,DrawTextFormat format,Color color);
我这样用
Rectangle rect;
DrawText(sprite,text,rect,format,color);
然后编译器报错调用函数不明确
于是我如何表明这个rect是引用还是不引用。。 |
|