Changeset 407 for trunk/Utilities
- Timestamp:
- Apr 26, 2015, 3:29:56 PM (9 years ago)
- Location:
- trunk/Utilities/Miscellaneous/PolyTextOut
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Miscellaneous/PolyTextOut/PolyTextOut.cpp
r406 r407 44 44 SetBkColor(hDc, RGB(0x00, 0x00, 0x00)); 45 45 SetTextColor(hDc, RGB(0x44, 0xFF, 0x44)); 46 Do(L"Мама мыла раму"); 47 Position.y += Extent.cy; 48 Do(L"Mother washed window"); 49 Position.y += Extent.cy; 50 Do(L"ママソープフレーム"); 51 Position.y -= 2 * Extent.cy; 46 static LPCTSTR g_ppszTexts[] = 47 { 48 L"Мама мыла раму", // Russian 49 L"Mother washed window", 50 L"ママソープフレーム", // Japanese 51 L"დედა საპნის კარკასი", // Georgean 52 }; 53 for(auto&& pszText: g_ppszTexts) 54 { 55 Do(pszText); 56 Position.y += Extent.cy; 57 } 58 Position.y -= _countof(g_ppszTexts) * Extent.cy; 52 59 Position.x += Extent.cx; 53 Do(L"Мама мыла раму", TRUE);54 Position.y += Extent.cy;55 Do(L"Mother washed window", TRUE);56 Position.y += Extent.cy;57 Do(L"ママソープフレーム", TRUE);60 for(auto&& pszText: g_ppszTexts) 61 { 62 Do(pszText, TRUE); 63 Position.y += Extent.cy; 64 } 58 65 // NOTE: Resource disposal ignored 59 66 ReleaseDC(NULL, hDc);
Note: See TracChangeset
for help on using the changeset viewer.