⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 luabind-logo-label.ps.svn-base

📁 本人找过多个在linux下c++的lua5.1封装库,但很少.luabind已经release的版本只支持lua5.0.这个版本是我从其cvs(svc)上取出的并支持最新的lua5.1.强烈推荐.
💻 SVN-BASE
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: Lua logo%%Creator: lua@tecgraf.puc-rio.br%%CreationDate: Wed Nov 29 19:04:04 EDT 2000%%BoundingBox: -45 0 1035 1080%%Pages: 1%%EndComments%%EndProlog%------------------------------------------------------------------------------%% Copyright (C) 1998-2000. All rights reserved.% Graphic design by Alexandre Nakonechny (nako@openlink.com.br).% PostScript programming by the Lua team (lua@tecgraf.puc-rio.br).%% Permission is hereby granted, without written agreement and without license % or royalty fees, to use, copy, and distribute this logo for any purpose, % including commercial applications, subject to the following conditions: %% * The origin of this logo must not be misrepresented; you must not%   claim that you drew the original logo. We recommend that you give credit%   to the graphics designer in all printed matter that includes the logo.%% * The only modification you can make is to adapt the orbiting text to%   your product name.%% * The logo can be used in any scale as long as the relative proportions %   of its elements are maintained.%%------------------------------------------------------------------------------/LABEL		(luabind) def%-- DO NOT CHANGE ANYTHING BELOW THIS LINE ------------------------------------/PLANETCOLOR	{0 0 0.5 setrgbcolor} bind def/HOLECOLOR	{1.0 setgray} bind def/ORBITCOLOR	{0.5 setgray} bind def/LOGOFONT	{/Helvetica 0.90} def/LABELFONT	{/Helvetica 0.36} def%------------------------------------------------------------------------------/MOONCOLOR	{PLANETCOLOR} bind def/LOGOCOLOR	{HOLECOLOR} bind def/LABELCOLOR	{ORBITCOLOR} bind def/LABELANGLE	125 def/LOGO		(Lua) def/DASHANGLE	10 def/HALFDASHANGLE	DASHANGLE 2 div def% moon radius. planet radius is 1./r 1 2 sqrt 2 div sub def/D {0 360 arc fill} bind def/F {exch findfont exch scalefont setfont} bind def% place it nicely on the paper/RESOLUTION	1024 defRESOLUTION 2 div dup translateRESOLUTION 2 div 2 sqrt div dup scale%-------------------------------------------------------------------- planet --PLANETCOLOR0 0 1 D%---------------------------------------------------------------------- hole --HOLECOLOR1 2 r mul sub dup r D%---------------------------------------------------------------------- moon --MOONCOLOR1 1 r D%---------------------------------------------------------------------- logo --LOGOCOLORLOGOFONTFLOGO stringwidth pop 2 div neg-0.5 movetoLOGO show%------------------------------------------------------------------------------% based on code from Blue Book Program 10, on pages 167--169% available at ftp://ftp.adobe.com/pub/adobe/displaypostscript/bluebook.shar%	str ptsize centerangle radius	outsidecircletext	--/outsidecircletext {	circtextdict begin	/radius exch def	/centerangle exch def	/ptsize exch def	/str exch def	gsave	 str radius ptsize findhalfangle	 centerangle	 add rotate	 str		{ /charcode exch def		  ( ) dup 0 charcode put outsideplacechar		} forall		grestore	end} def%	string radius ptsize	findhalfangle	halfangle/findhalfangle {	4 div add	exch	stringwidth pop 2 div	exch	2 mul 3.1415926535 mul div 360 mul} def/circtextdict 16 dict defcirctextdict begin /outsideplacechar {	/char exch def	/halfangle char radius ptsize findhalfangle def	gsave	 halfangle neg rotate	 radius 0 translate	 -90 rotate	 char stringwidth pop 2 div neg 0 moveto	 char show	grestore	halfangle 2 mul neg rotate } defend%--------------------------------------------------------------------- label --LABELFONTF/LABELSIZE	LABELFONT exch pop def/LABELRADIUS	LABELSIZE 3 div 1 r add sub neg 1.02 mul def/HALFANGLE	LABEL LABELRADIUS LABELSIZE findhalfangle	HALFDASHANGLE div ceiling HALFDASHANGLE muldef/LABELANGLE	60 LABELANGLE HALFANGLE sub	lt	{	HALFANGLE	HALFANGLE DASHANGLE div floor DASHANGLE mul	eq		{LABELANGLE DASHANGLE div ceiling DASHANGLE mul}		{LABELANGLE HALFDASHANGLE sub DASHANGLE div round DASHANGLE mul HALFDASHANGLE add}	ifelse	}	{HALFANGLE 60 add}	ifelsedefLABELCOLORLABELLABELSIZELABELANGLELABELRADIUSoutsidecircletext%--------------------------------------------------------------------- orbit --ORBITCOLOR0.03 setlinewidth[1 r add 3.1415926535 180 div HALFDASHANGLE mul mul] 0 setdashnewpath0 01 r add3 copy30LABELANGLE HALFANGLE addarcnstroke60LABELANGLE HALFANGLE sub2 copylt {arc stroke} {4 {pop} repeat} ifelse%------------------------------------------------------------------ copyright --/COPYRIGHT(Graphic design by A. Nakonechny. Copyright (c) 1998, All rights reserved.)defLABELCOLORLOGOFONT32 divF2 sqrt 0.99 muldupnegmovetoCOPYRIGHT90 rotate%show%---------------------------------------------------------------------- done --showpage%%Trailer%%EOF

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -