{"id":503,"date":"2005-11-16T01:00:00","date_gmt":"2005-11-15T16:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2005-11-16-1.html"},"modified":"2005-11-16T01:00:00","modified_gmt":"2005-11-15T16:00:00","slug":"2005-11-16-1","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2005-11-16-1.html","title":{"rendered":"\u3088\u304f\u3042\u308b\u63cf\u753b\u51e6\u7406l\u3002\u4e2d\u5fc3\u306b\u63cf\u753b\u3059\u308b\u6642\u306e Tips"},"content":{"rendered":"<p>\n\u7d75\u3092\u4e2d\u5fc3\u306b\u8868\u793a\u3055\u305b\u305f\u3044\u6642\u306a\u3069\u3001\n<\/p>\n<blockquote><p>int x = (nWidth &#8211; img.getWidth() ) \/ 2;\n<\/p><\/blockquote>\n<p>\u307f\u305f\u3044\u306a\u3053\u3068\u3092\u3088\u304f\u3059\u308b\u304c\u3001\u4eba\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u3044\u3066\n<\/p>\n<blockquote><p>int x = nWidth &#8211; img.getWidth() >> 1;\n<\/p><\/blockquote>\n<p>\u3068\u304b\u3084\u3063\u3066\u3066\u3001\u30d3\u30c3\u30c8\u30b7\u30d5\u30c8\u3044\u3044\u304b\u3082\u3068\u601d\u3044\u307e\u3057\u305f\u3002\u512a\u5148\u9806\u4f4d\u304c + &#8211; \u3088\u308a\u4f4e\u3044\u306e\u304c\u30df\u30bd\u3002\u4f7f\u3046\u304b\u3069\u3046\u304b\u306f\u597d\u307f\u6b21\u7b2c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d75\u3092\u4e2d\u5fc3\u306b\u8868\u793a\u3055\u305b\u305f\u3044\u6642\u306a\u3069\u3001 int x = (nWidth &#8211; img.getWidth() ) \/ 2; \u307f\u305f\u3044\u306a\u3053\u3068\u3092\u3088\u304f\u3059\u308b\u304c\u3001\u4eba\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u3044\u3066 int x = nWidth &#8211; i &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2005-11-16-1.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3088\u304f\u3042\u308b\u63cf\u753b\u51e6\u7406l\u3002\u4e2d\u5fc3\u306b\u63cf\u753b\u3059\u308b\u6642\u306e Tips<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[42,19],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","tag-java","tag-programming"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}