{"blog_title":"tmyt\u306e\u3089\u304f\u304c\u304d","provider_name":"Hatena Blog","published":"2013-01-30 02:48:11","height":"190","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmyt.jp%2Fentry%2F20130130%2F1359568091\" title=\"DirectWrite\u3067\u306f\u307e\u308a\u7d9a\u3051\u3066\u305f - tmyt\u306e\u3089\u304f\u304c\u304d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"\u50d5\u304cCOM\u3092\u7406\u89e3\u305b\u305a\u306b\u4f7f\u3063\u3066\u3044\u308b\u306e\u304c\u6839\u672c\u7684\u306a\u539f\u56e0\u3067\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3068\u3044\u3046\u524d\u63d0\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 IDWriteFactory* pDWriteFactory; IDWriteTextFormat* textFormat; void InitFormat() { // \u9069\u5f53\u306b\u521d\u671f\u5316 pDWriteFactory->CreateTextFormat(,,,, &textFormat); } int Metric(const std::wstring & str) { // \u7701\u7565\u8a18\u53f7\u3092\u751f\u6210 IDWriteInlineObject* trimObj = NULL; pDWriteFacto\u2026","type":"rich","author_name":"tmyt","width":"100%","url":"https://blog.tmyt.jp/entry/20130130/1359568091","image_url":null,"blog_url":"https://blog.tmyt.jp/","title":"DirectWrite\u3067\u306f\u307e\u308a\u7d9a\u3051\u3066\u305f","author_url":"https://blog.hatena.ne.jp/tmyt/","categories":["\u96d1\u8a18"]}