-
Автор темы
- #1
ошибка :
Ошибка C2059 синтаксическая ошибка: ->
код:
extern cRender* pRender;
cRender->render_Line(10, 10, 10, 400, Color::Red());
cRender->render_Box(30, 30, 50, 50, Color(78, 78, 78));
cRender->render_Border(40, 40, 50, 50, 0xFFFF0000);
cRender->render_String(100, 100, Color(255, 0, 255, 0), DT_LEFT | DT_SHADOW, L"123");
SIZE cSize;
cRender->GetTextExtent("123", &pSize);
cRender->render_Line(100 - 2, 100, 100 - 2, 100 + pSize.cy, Color::Green());
cRender->render_Line(100, 102 + pSize.cy, 100 + pSize.cx, 102 + pSize.cy, Color::Green());
в чем проблема??
Ошибка C2059 синтаксическая ошибка: ->
код:
extern cRender* pRender;
cRender->render_Line(10, 10, 10, 400, Color::Red());
cRender->render_Box(30, 30, 50, 50, Color(78, 78, 78));
cRender->render_Border(40, 40, 50, 50, 0xFFFF0000);
cRender->render_String(100, 100, Color(255, 0, 255, 0), DT_LEFT | DT_SHADOW, L"123");
SIZE cSize;
cRender->GetTextExtent("123", &pSize);
cRender->render_Line(100 - 2, 100, 100 - 2, 100 + pSize.cy, Color::Green());
cRender->render_Line(100, 102 + pSize.cy, 100 + pSize.cx, 102 + pSize.cy, Color::Green());
в чем проблема??