{"id":60,"date":"2010-10-21T20:08:08","date_gmt":"2010-10-21T12:08:08","guid":{"rendered":"http:\/\/blog.tian-le.com\/?p=60"},"modified":"2010-12-09T14:48:47","modified_gmt":"2010-12-09T06:48:47","slug":"doraemon","status":"publish","type":"post","link":"https:\/\/blog.tian-le.com\/?p=60","title":{"rendered":"Doraemon"},"content":{"rendered":"<p>\u542c\u8bf4\u6709\u4eba\u7528CSS\u753b\u4e86\u4e00\u4e2a\u673a\u5668\u732b<br \/>\n<a href=\"http:\/\/oldj.net\/static\/drjs\/doraemon.html\">http:\/\/oldj.net\/static\/drjs\/doraemon.html<\/a><br \/>\n\u5f88\u53d7\u89e6\u52a8<br \/>\n\u9042\u51b3\u5b9a\u7528abap\u753b\u4e00\u4e2a<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.tian-le.com\/wp-content\/uploads\/2010\/10\/doraemon.jpg\" alt=\"doraemon\" width=\"50%\"\/><br \/>\n\u5176\u5b9e\u8bf4\u662f\u7528abap\u753b\u7684\u8fd8\u662f\u5f88\u7275\u5f3a\u7684<br \/>\n\u7a0b\u5e8f\u7684\u5b9e\u8d28\u662f\u4e00\u6bb5HPGL\u4ee3\u7801<br \/>\n\u7136\u540e\u7528abap\u8c03\u7528\u4e00\u4e0b<br \/>\n\u6e90\u4ee3\u7801\uff1a<br \/>\n[cc lang=&#8221;abap&#8221; line_numbers=&#8221;true&#8221; lines=&#8221;-1&#8243;]<br \/>\nDATA: BEGIN OF hpgl OCCURS 1,<br \/>\n        entry(128),<br \/>\n      END OF hpgl.<\/p>\n<p>DEFINE add_command.<br \/>\n  hpgl = &#038;1.<br \/>\n  append hpgl.<br \/>\nEND-OF-DEFINITION.<\/p>\n<p>add_command:<br \/>\n&#8221; border<br \/>\n&#8216;SP0;PU;&#8217;,<br \/>\n&#8216;PA0,0;PD;PA360,0;PA360,420;PA0,420;PA0,0;PU;&#8217;,<\/p>\n<p>&#8221; face<br \/>\n&#8216;SP2;FT1;&#8217;,<br \/>\n&#8216;PA180,270;&#8217;,<br \/>\n&#8216;WG120,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI120;&#8217;,<br \/>\n&#8216;SC0,1.0,0,0.8,2;&#8217;,<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;PA180,300;&#8217;,<br \/>\n&#8216;WG100,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI100;&#8217;,<br \/>\n&#8216;SC0,1.0,0,1.0,2;&#8217;,<\/p>\n<p>&#8221; eyes<br \/>\n&#8216;SC0,0.6,0,0.7,2;&#8217;,<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;PA250,450;&#8217;,<br \/>\n&#8216;WG50,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI50;&#8217;,<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;PA350,450;&#8217;,<br \/>\n&#8216;WG50,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI50;&#8217;,<br \/>\n&#8216;SC0,0.5,0,0.7,2;&#8217;,<br \/>\n&#8216;SP1;FT1;&#8217;,<br \/>\n&#8216;PA300,433;&#8217;,<br \/>\n&#8216;WG10,0,360;&#8217;,<br \/>\n&#8216;PA400,433;&#8217;,<br \/>\n&#8216;WG10,0,360;&#8217;,<br \/>\n&#8216;SC0,1.0,0,1.0,2;&#8217;,<\/p>\n<p>&#8221; nose<br \/>\n&#8216;SP6;FT1;&#8217;,<br \/>\n&#8216;PA180,282;&#8217;,<br \/>\n&#8216;WG12,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI12;&#8217;,<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;PA185,285;&#8217;,<br \/>\n&#8216;WG5,0,360;&#8217;,<\/p>\n<p>&#8221; mouth<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;PA180,270;PD;&#8217;,<br \/>\n&#8216;PA180,200;PU;&#8217;,<br \/>\n&#8216;SC180,1.333,260,1,2;&#8217;,<br \/>\n&#8216;AA180,260,60;&#8217;,<br \/>\n&#8216;SC0,1,0,1,2;&#8217;,<br \/>\n&#8216;PA180,200;&#8217;,<br \/>\n&#8216;SC180,1.333,260,1,2;&#8217;,<br \/>\n&#8216;AA180,260,-60;&#8217;,<br \/>\n&#8216;SC0,1,0,1,2;&#8217;,<br \/>\n&#8216;PA100,270;PD;&#8217;,<br \/>\n&#8216;PA150,260;PU;&#8217;,<br \/>\n&#8216;PA260,270;PD;&#8217;,<br \/>\n&#8216;PA210,260;PU;&#8217;,<br \/>\n&#8216;PA95,250;PD;&#8217;,<br \/>\n&#8216;PA150,250;PU;&#8217;,<br \/>\n&#8216;PA265,250;PD;&#8217;,<br \/>\n&#8216;PA210,250;PU;&#8217;,<br \/>\n&#8216;PA100,230;PD;&#8217;,<br \/>\n&#8216;PA150,240;PU;&#8217;,<br \/>\n&#8216;PA260,230;PD;&#8217;,<br \/>\n&#8216;PA210,240;PU;&#8217;,<\/p>\n<p>&#8221; body<br \/>\n&#8216;SP2;FT1;&#8217;,<br \/>\n&#8216;PA105,38;RR150,132;&#8217;,<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;PA180,130;WG60,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;PA180,70;PD;AA180,130,130;PU;&#8217;,<br \/>\n&#8216;PA180,70;PD;AA180,130,-130;PU;&#8217;,<\/p>\n<p>&#8221; neck<br \/>\n&#8216;SP6;FT1;&#8217;,<br \/>\n&#8216;PA107,168;WG7,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI7;&#8217;,<br \/>\n&#8216;SP6;FT1;&#8217;,<br \/>\n&#8216;PA253,168;WG7,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI7;&#8217;,<br \/>\n&#8216;SP6;FT1;&#8217;,<br \/>\n&#8216;PA105,175;&#8217;,<br \/>\n&#8216;RR150,-14;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;PA105,175;PD;&#8217;,<br \/>\n&#8216;PA255,175;PU;&#8217;,<br \/>\n&#8216;PA105,161;PD;&#8217;,<br \/>\n&#8216;PA255,161;PU;&#8217;,<\/p>\n<p>&#8221; bell<br \/>\n&#8216;SP3;FT1;&#8217;,<br \/>\n&#8216;PA180,155;&#8217;,<br \/>\n&#8216;WG15,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI15;&#8217;,<br \/>\n&#8216;PA170,163;PD;&#8217;,<br \/>\n&#8216;PA190,163;PU;&#8217;,<br \/>\n&#8216;PA167,160;PD;&#8217;,<br \/>\n&#8216;PA193,160;PU;&#8217;,<br \/>\n&#8216;PA180,144;PD;&#8217;,<br \/>\n&#8216;PA180,141;PU;&#8217;,<br \/>\n&#8216;SC0,5,0,4,2;&#8217;,<br \/>\n&#8216;PA36,37;PU;&#8217;,<br \/>\n&#8216;WG1,0,360;&#8217;,<br \/>\n&#8216;SC0,1,0,1,2;&#8217;,<\/p>\n<p>&#8221; pocket<br \/>\n&#8216;PA180,121;&#8217;,<br \/>\n&#8216;SC0,35,0,39,2;&#8217;,<br \/>\n&#8216;EW1,180,180;&#8217;,<br \/>\n&#8216;SC0,1,0,1,2;&#8217;,<\/p>\n<p>&#8221; legs<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;PA180,38;WG12,0,180;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;PA192,38;PD;&#8217;,<br \/>\n&#8216;AA180,38,180;PU;&#8217;,<br \/>\n&#8216;PA137,38;&#8217;,<br \/>\n&#8216;SC0,42,0,12,2;&#8217;,<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;WG1,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI1;&#8217;,<br \/>\n&#8216;SC0,1,0,1,2;&#8217;,<br \/>\n&#8216;PA223,38;&#8217;,<br \/>\n&#8216;SC0,42,0,12,2;&#8217;,<br \/>\n&#8216;SP0;FT1;&#8217;,<br \/>\n&#8216;WG1,0,360;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;CI1;&#8217;,<br \/>\n&#8216;SC0,1,0,1,2;&#8217;,<\/p>\n<p>&#8221; hands<br \/>\n&#8216;PA104,161;&#8217;,<br \/>\n&#8216;PM0;PR-45,21,0,-32,45,-21;&#8217;,<br \/>\n&#8216;SP2;FP1;&#8217;,<br \/>\n&#8216;FP;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;EP;&#8217;,<br \/>\n&#8216;PM2;&#8217;,<br \/>\n&#8216;PA58,164;&#8217;,<br \/>\n&#8216;SP0;FT1;WG20,0,360;&#8217;,<br \/>\n&#8216;SP1;CI20;&#8217;,<br \/>\n&#8216;PA256,161;&#8217;,<br \/>\n&#8216;PM0;PR45,-21,0,-32,-45,21;&#8217;,<br \/>\n&#8216;SP2;FP1;&#8217;,<br \/>\n&#8216;FP;&#8217;,<br \/>\n&#8216;SP1;&#8217;,<br \/>\n&#8216;EP;&#8217;,<br \/>\n&#8216;PM2;&#8217;,<br \/>\n&#8216;PA300,123;&#8217;,<br \/>\n&#8216;SP0;FT1;WG20,0,360;&#8217;,<br \/>\n&#8216;SP1;CI20;&#8217;,<\/p>\n<p>&#8221; misc<br \/>\n&#8216;PA105,140;PD;PA104,48;PU;&#8217;,<br \/>\n&#8216;PA255,140;PD;PA256,48;PU;&#8217;.<\/p>\n<p>CALL FUNCTION &#8216;GRAPH_HPGL&#8217;<br \/>\n  TABLES<br \/>\n    data   = hpgl.<br \/>\n[\/cc]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u542c\u8bf4\u6709\u4eba\u7528CSS\u753b\u4e86\u4e00\u4e2a\u673a\u5668\u732b http:\/\/oldj.net\/static\/drjs\/doraemon.html \u5f88\u53d7\u89e6\u52a8 \u9042\u51b3\u5b9a\u7528abap\u753b\u4e00\u4e2a \u5176\u5b9e\u8bf4\u662f\u7528abap\u753b\u7684\u8fd8\u662f\u5f88\u7275\u5f3a\u7684 \u7a0b\u5e8f\u7684\u5b9e\u8d28\u662f\u4e00\u6bb5HPGL\u4ee3\u7801 \u7136\u540e\u7528abap\u8c03\u7528\u4e00\u4e0b \u6e90\u4ee3\u7801\uff1a [cc lang=&#8221;abap&#8221; line_numbers=&#8221;true&#8221; lines=&#8221;-1&#8243;] DATA: BEGIN OF hpgl OCCURS 1, entry(128), END OF hpgl. DEFINE add_command. hpgl = &#038;1. append hpgl. END-OF-DEFINITION. add_command: &#8221; border &#8216;SP0;PU;&#8217;, &#8216;PA0,0;PD;PA360,0;PA360,420;PA0,420;PA0,0;PU;&#8217;, &#8221; face &#8216;SP2;FT1;&#8217;, &#8216;PA180,270;&#8217;, &#8216;WG120,0,360;&#8217;, &#8216;SP1;&#8217;, &#8216;CI120;&#8217;, &#8216;SC0,1.0,0,0.8,2;&#8217;, &#8216;SP0;FT1;&#8217;, &#8216;PA180,300;&#8217;, &#8216;WG100,0,360;&#8217;, &#8216;SP1;&#8217;, &#8216;CI100;&#8217;, &#8216;SC0,1.0,0,1.0,2;&#8217;, &#8221; eyes &#8216;SC0,0.6,0,0.7,2;&#8217;, &#8216;SP0;FT1;&#8217;, &#8216;PA250,450;&#8217;, &#8216;WG50,0,360;&#8217;, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60"}],"version-history":[{"count":0,"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tian-le.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}