| pypostscript. Python °³Ã¼¸¦ »ç¿ëÇÏ¿© PostScript ÆäÀÌÁö ¸¸µé±â |
Áö±Ý ´Ù¿î·Îµå |
pypostscript. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Mark Henwood
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://mcbh.co.uk
pypostscript. ű×
pypostscript. ¼³¸í
pypostscript´Â Python objects.usageExample¿¡¼ A4 ¼¼·Î PostScript Ãâ·ÂÀ» »ý¼ºÇÏ´Â ÆÄÀ̽㠸ðµâÀÔ´Ï´Ù. Pypostscript.barcode °¡Á® ¿À±â code39barcode, code93barcodefrom pypostscript.shapes pypostscript.spostscript.text helveticaboldfont, textline, timePlainFontFrom pypostscript.page °¡Á® ¿À±â pageDef sample_page ) : page = page () page.extend (text = x_ptss = 40, y_pts = 740, font = helveticaboldfont (size_pts = 22), text = 'Å×½ºÆ® ¼¼·Î ÆäÀÌÁö')) page.extend (textend (x_pts = 40, y_pts = 650, font = timeSplainFont (size_pts = 12), text = 'PostScript ¶óÀ̺귯¸®, Å×½ºÆ® ¼¼·Î ÆäÀÌÁö.')) page.extend (code39barcode (x_pts = 40, y_pts = 500, chars = 'abc123')) ÆäÀÌÁö .Extend (X_PTS = 40, y_pts = 400, chars = 'abc987')) ÆäÀÌÁö. ÅؽºÆ® (»ç°¢Çü (x_ptss = 30, y_pts = 390, width_pts = 170, height_pts = 185, line_width_ptss = 2)) ÆäÀÌÁö .Extend (¼Å¬ (centre_x_pts = 80, centre_y_pts = 150, radyus_pts = 72, line_width_pts = 1)) ¹Ýȯ PageIF __name__ == '__main__': ÆäÀÌÁö = sample_page () Àμâ Page.Render () Á¦Ç°ÀÇ Homep ³ªÀÌ
pypostscript. °ü·Ã ¼ÒÇÁÆ®¿þ¾î