Changeset 408 for trunk/Utilities/Miscellaneous/PolyTextOut/PolyTextOut.cpp
- Timestamp:
- Apr 26, 2015, 3:32:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Miscellaneous/PolyTextOut/PolyTextOut.cpp
r407 r408 18 18 pPolyTexts[0].x = Position.x; 19 19 pPolyTexts[0].y = Position.y; 20 21 22 20 pPolyTexts[0].n = (INT) _tcslen(pszText); 21 pPolyTexts[0].lpstr = pszText; 22 pPolyTexts[0].uiFlags = 0; 23 23 SetRect(&pPolyTexts[0].rcl, Position.x, Position.y, Extent.cx, Extent.cy); 24 24 pPolyTexts[0].pdx = NULL; 25 25 if(bExtTextOut) 26 26 for(auto&& PolyText: pPolyTexts) … … 34 34 LOGFONT FontFormat; 35 35 ZeroMemory(&FontFormat, sizeof FontFormat); 36 36 FontFormat.lfHeight = -28; 37 37 FontFormat.lfWeight = FW_SEMIBOLD; 38 38 FontFormat.lfCharSet = DEFAULT_CHARSET; 39 39 _tcscpy_s(FontFormat.lfFaceName, _T("Arial")); 40 40 HFONT hFont = CreateFontIndirect(&FontFormat); … … 49 49 L"Mother washed window", 50 50 L"ママソープフレーム", // Japanese 51 L"დედა საპნის კარკასი", // Georg ean51 L"დედა საპნის კარკასი", // Georgian 52 52 }; 53 53 for(auto&& pszText: g_ppszTexts)
Note: See TracChangeset
for help on using the changeset viewer.