{"blog_url":"https://technohippy.hatenadiary.org/","url":"https://technohippy.hatenadiary.org/entry/20071006/1191684870","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"\u305f\u3068\u3048\u3070100x100\u306e\u753b\u50cf\u306b10x10\u306e\u30de\u30fc\u30b8\u30f3\u3092\u7528\u610f\u3059\u308b\u306b\u306f\u3053\u3093\u306a\u611f\u3058\u3002 draw.define_clip_path 'clip' do draw.path \"M 10 10 L 10 90 L 90 90 L 10 90 z\" end draw.push draw.clip_path 'clip' # draw\u4f7f\u3063\u3066\u3044\u308d\u3044\u308d\u63cf\u753b draw.pop \u30d1\u30b9\u6307\u5b9a\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306fSVG\u306e\u30d1\u30b9\u3068\u540c\u3058\u3089\u3057\u3044\u3002 \u540d\u524d\u3064\u304d\u306e\u30d1\u30b9\u3092\u5b9a\u7fa9\u3057\u3066\u3001\u30d1\u30b9\u540d\u3067\u30af\u30ea\u30c3\u30d7\u9818\u57df\u3092\u6307\u5b9a\u3057\u306a\u3044\u3068\u3060\u3081\u3089\u3057\u3044\u3002 \u3042\u3068\u3001push\u3068pop\u304c\u306a\u305c\u304b\u5fc5\u8981\u3089\u3057\u3044\u3002 \u306a\u3093\u304b\u3054\u3061\u3083\u3054\u3061\u3083\u3059\u308b\u306e\u3067Magick::Draw\u306b\u6b21\u306e\u3088\u3046\u306a\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u2026","title":" \u753b\u50cf\u3092\u30af\u30ea\u30c3\u30d4\u30f3\u30b0","categories":["Ruby","RMagick","Snippets"],"height":"190","type":"rich","author_name":"technohippy","author_url":"https://blog.hatena.ne.jp/technohippy/","width":"100%","blog_title":"\u305a\u3063\u3068\u541b\u306e\u30bf\u30fc\u30f3","version":"1.0","published":"2007-10-06 00:34:30","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechnohippy.hatenadiary.org%2Fentry%2F20071006%2F1191684870\" title=\" \u753b\u50cf\u3092\u30af\u30ea\u30c3\u30d4\u30f3\u30b0 - \u305a\u3063\u3068\u541b\u306e\u30bf\u30fc\u30f3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}