Rubyï¼ã¨Railsï¼ã§PDFãçæããæ¹æ³ã¯(ãªã³ã¯)ç¾å¨ãæ°ç¨®é¡åå¨ãããæ¢åã®ã½ãªã¥ã¼ã·ã§ã³ã«ä¸æºã®ããGregory Brownã¯ãDSLã¢ããã¼ãã使ã£ã¦ç¬èªã®ã©ã¤ãã©ãªãè¨è¨ãããã¨ã«æ±ºãããPrawnã¯(ãªã³ã¯)ã¾ãä»ã®Rubyç¨PDFã©ã¤ãã©ãªãããé度ã§ãä¸ãè¡ãã¯ãã§ããã ã¤ã³ã¹ãã¼ã«ãå®äºããã¨ãDSL風ã®ã¢ããã¼ãã使ã£ã¦ç°¡åã«PDFãçæã§ããï¼Prawnã®ãµã³ãã«ããä¾ãå¼ç¨ï¼ã Prawn::Document.generate("image.pdf", :page_layout => :landscape) do text 'Welcome in Prawn!', :at => [50,525] pigs = "data/images/dice.png" image pigs, :at => [50,450], :scale => 0.5 ruport =
{{#tags}}- {{label}}
{{/tags}}