{"issue":{"created_at":"2011-12-04T21:15:03Z","state":"open","updated_at":"2011-12-04T21:15:03Z","comments":0,"user":{"gravatar_id":"dd7cc06b1b1c347e172c6ba532937173","id":325899,"url":"https://api.github.com/users/zackw","avatar_url":"https://secure.gravatar.com/avatar/dd7cc06b1b1c347e172c6ba532937173?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"zackw"},"body":"Constructs such as\r\n\r\n    \\begin{tikzpicture}[x=1pt,y=1pt]\r\n    \\definecolor[named]{drawColor}{rgb}{0.00,0.00,0.00}\r\n    \\definecolor[named]{fillColor}{rgb}{1.00,1.00,1.00}\r\n    \\begin{scope}\r\n    \\path[clip] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\definecolor[named]{fillColor}{rgb}{1.00,1.00,1.00}\r\n    \\fill[color=fillColor] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\end{scope}\r\n    \\begin{scope}\r\n    \\path[clip] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\definecolor[named]{drawColor}{rgb}{0.00,0.00,0.00}\r\n    \\node[color=drawColor,anchor=base,inner sep=0pt, outer sep=0pt, scale= 1.20] at ( 73.39,  9.03) {1};\r\n    \\end{scope}\r\n    \\begin{scope}\r\n    \\path[clip] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\definecolor[named]{drawColor}{rgb}{0.00,0.00,0.00}\r\n    \\node[rotate= 90.00,color=drawColor,anchor=base,inner sep=0pt, outer sep=0pt, scale=  1.20] at ( 17.30, 76.40) {1};\r\n    \\end{scope}\r\n    \\end{tikzpicture}\r\n\r\ncontain a great deal of repetitive clipping and color specification.  It would be better to emit\r\n\r\n    \\begin{tikzpicture}[x=1pt,y=1pt]\r\n    \\definecolor[named]{drawColor}{rgb}{0.00,0.00,0.00}\r\n    \\definecolor[named]{fillColor}{rgb}{1.00,1.00,1.00}\r\n    \\path[clip] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\fill[color=fillColor] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\node[color=drawColor,anchor=base,inner sep=0pt, outer sep=0pt, scale= 1.20]  at ( 73.39,  9.03) {1};\r\n    \\node[rotate= 90.00,color=drawColor,anchor=base,inner sep=0pt, outer sep=0pt, scale=  1.20] at ( 17.30, 76.40) {1};\r\n    \\end{tikzpicture}\r\n\r\nor, even better, noticing that the colors used are black and white,\r\n\r\n    \\begin{tikzpicture}[x=1pt,y=1pt]\r\n    \\path[clip] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\fill[color=white] (  0.00,  0.00) rectangle (144.54,144.54);\r\n    \\node[anchor=base,inner sep=0pt, outer sep=0pt, scale= 1.20]\r\n     at ( 73.39,  9.03) {1};\r\n    \\node[rotate= 90.00,anchor=base,inner sep=0pt, outer sep=0pt, scale=  1.20]\r\n     at ( 17.30, 76.40) {1};\r\n    \\end{tikzpicture}\r\n","assignee":null,"id":2443771,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":47,"title":"Factor out repeated graphics parameters","closed_at":null,"html_url":"https://github.com/Sharpie/RTikZDevice/issues/47","url":"https://api.github.com/repos/Sharpie/RTikZDevice/issues/47","milestone":null},"action":"opened"}