Search the Community
Showing results for tags 'Draw'.
-
Hello again. Implemented UTF8 support for LE4. Works fine?. context->SetBlendMode(Blend::Alpha); context->DrawText(u8"Привет мир! Hello world!", 25.0f, 25.0f); context->SetBlendMode(Blend::Solid); Add yours symbols to "familychars" and make own "family" in Font.cpp if (family==Font::English) { familychars = L"abcdefghijklmnopqrstuvwxyzабвгдеёжзийклмнопрстуфхцчшщъыьэюя АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-=!@#$%^&*()_+[]\\{}|;':\",./<>? `~"; } Update: #include <codecvt> std::string WideStringToString(const std::wstring & str) { std::wstring_convert<std::codecvt_utf8<wchar_t>> myconv; return myconv.to_bytes(str); } std::wstring StringToWideString(const std::string & str) { std::wstring_convert<std::codecvt_utf8<wchar_t>> convert; return convert.from_bytes(str); } Gud luck?️! FontSrc.zip
-
Hello! There was such problem. I understand with examples for C ++. And to me gives out the following error almost in each of them of following type: Error 23 error C2653: ' Draw ': is not a class or namespace name E:\CreateGame\test_functions\Source\App.cpp. Prompt, please, that I not so do? How to make, that this function found?
-
Turn off "snap to grid". Start drawing a CSG brush. Notice how the initial click snaps to grid however the sizing of brush rectangle does not snap. [Edit] $.2 The icon looks more like its supposed to show/hide grid rather than affect snapping. Speaking of which I find the visibility of the grid more disconcerting rather than snapping. looks more like snapping.