Skip to content

Commit

Permalink
Removed null set colour and fills from fig defn to conform to new
Browse files Browse the repository at this point in the history
set colour with alpha.

Change-Id: I4905034b4f0f2e3e3ee82b8b00005c4449b2b0f5
  • Loading branch information
Stuart Moodie committed Jun 21, 2011
1 parent b6d8d7b commit 2439bed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .classpath
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
<attribute name="javadoc_location" value="jar:platform:/resource/SbgnPdNotationSubsystem/lib/NotationSubsystemUtils/NotationSubsystemUtils-docs.jar!/"/> <attribute name="javadoc_location" value="jar:platform:/resource/SbgnPdNotationSubsystem/lib/NotationSubsystemUtils/NotationSubsystemUtils-docs.jar!/"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="lib" path="lib/VisualLanguageToolkit/VisualLanguageToolkit.jar" sourcepath="lib/VisualLanguageToolkit/VisualLanguageToolkit-src.jar"> <classpathentry combineaccessrules="false" kind="src" path="/VisualLanguageToolkit"/>
<attributes>
<attribute name="javadoc_location" value="jar:platform:/resource/SbgnPdNotationSubsystem/lib/VisualLanguageToolkit/VisualLanguageToolkit-docs.jar!/"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
"card cvs textbounds /hoff exch curlinewidth 2 mul add h div def /woff exch curlinewidth 2 mul add w div def \n" + "card cvs textbounds /hoff exch curlinewidth 2 mul add h div def /woff exch curlinewidth 2 mul add w div def \n" +
"cpx woff 2 div sub xoffset cpy hoff 2 div sub yoffset woff w mul hoff h mul rect\n" + "cpx woff 2 div sub xoffset cpy hoff 2 div sub yoffset woff w mul hoff h mul rect\n" +
"gsave\n" + "gsave\n" +
"null setfillcol cpx xoffset cpy yoffset (C) card cvs text\n" + "0 0 0 0 setfillcol cpx xoffset cpy yoffset (C) card cvs text\n" +
"grestore\n" + "grestore\n" +
"} def\n" + "} def\n" +
":cardinality 1 gt {\n" + ":cardinality 1 gt {\n" +
Expand All @@ -91,7 +91,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
private static final String COMPARTMENT_DEFN = private static final String COMPARTMENT_DEFN =
"curbounds /h exch def /w exch def /y exch def /x exch def\n" "curbounds /h exch def /w exch def /y exch def /x exch def\n"
+ "/xoffset { w mul x add } def /yoffset { h mul y add } def\n" + "/xoffset { w mul x add } def /yoffset { h mul y add } def\n"
+ "gsave null setlinecol\n" + "gsave 0 0 0 0 setlinecol\n"
+ "x 0.10 yoffset w 0.81 h mul rect\n" + "x 0.10 yoffset w 0.81 h mul rect\n"
+ "0.4 xoffset y 0.22 w mul 0.10 h mul rect\n" + "0.4 xoffset y 0.22 w mul 0.10 h mul rect\n"
+ " 0.4 xoffset 0.90 yoffset 0.22 w mul 0.10 h mul rect\n" + " 0.4 xoffset 0.90 yoffset 0.22 w mul 0.10 h mul rect\n"
Expand All @@ -112,7 +112,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
"card cvs textbounds /hoff exch curlinewidth 2 mul add h div def /woff exch curlinewidth 2 mul add w div def \n" + "card cvs textbounds /hoff exch curlinewidth 2 mul add h div def /woff exch curlinewidth 2 mul add w div def \n" +
"cpx woff 2 div sub xoffset cpy hoff 2 div sub yoffset woff w mul hoff h mul rect\n" + "cpx woff 2 div sub xoffset cpy hoff 2 div sub yoffset woff w mul hoff h mul rect\n" +
"gsave\n" + "gsave\n" +
"null setfillcol cpx xoffset cpy yoffset (C) card cvs text\n" + "0 0 0 0 setfillcol cpx xoffset cpy yoffset (C) card cvs text\n" +
"grestore\n" + "grestore\n" +
"} def\n" + "} def\n" +
"/xoffset { w 0.9 mul mul x 0.1 w mul add add } def /yoffset { h 0.9 mul mul y 0.1 h mul add add } def\n" + "/xoffset { w 0.9 mul mul x 0.1 w mul add add } def /yoffset { h 0.9 mul mul y 0.1 h mul add add } def\n" +
Expand All @@ -137,7 +137,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
"(C) setanchor\n" + "(C) setanchor\n" +
"curbounds /h exch def /w exch def /y exch def /x exch def\n" "curbounds /h exch def /w exch def /y exch def /x exch def\n"
+ "/xoffset { w mul x add } def /yoffset { h mul y add } def\n" + "/xoffset { w mul x add } def /yoffset { h mul y add } def\n"
+ "gsave null setlinecol x y w 0.82 h mul rect\n" + "gsave 0 0 0 0 setlinecol x y w 0.82 h mul rect\n"
+ "0.20 xoffset 0.80 yoffset 0.62 w mul 0.20 h mul rect\n" + "0.20 xoffset 0.80 yoffset 0.62 w mul 0.20 h mul rect\n"
+ "0 xoffset 0.60 yoffset 0.40 w mul 0.40 h mul 180 90 arc\n" + "0 xoffset 0.60 yoffset 0.40 w mul 0.40 h mul 180 90 arc\n"
+ "0.60 xoffset 0.60 yoffset 0.40 w mul 0.40 h mul 270 90 arc\n" + "0.60 xoffset 0.60 yoffset 0.40 w mul 0.40 h mul 270 90 arc\n"
Expand Down Expand Up @@ -260,7 +260,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
"card cvs textbounds /hoff exch curlinewidth 2 mul add h div def /woff exch curlinewidth 2 mul add w div def \n" + "card cvs textbounds /hoff exch curlinewidth 2 mul add h div def /woff exch curlinewidth 2 mul add w div def \n" +
"cpx woff 2 div sub xoffset cpy hoff 2 div sub yoffset woff w mul hoff h mul rect\n" + "cpx woff 2 div sub xoffset cpy hoff 2 div sub yoffset woff w mul hoff h mul rect\n" +
"gsave\n" + "gsave\n" +
"null setfillcol cpx xoffset cpy yoffset (C) card cvs text\n" + "0 0 0 0 setfillcol cpx xoffset cpy yoffset (C) card cvs text\n" +
"grestore\n" + "grestore\n" +
"} def\n" + "} def\n" +
":cardinality 1 gt {\n" + ":cardinality 1 gt {\n" +
Expand All @@ -272,7 +272,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
private static final String AND_SHAPE_DEFN = private static final String AND_SHAPE_DEFN =
"curbounds /h exch def /w exch def /y exch def /x exch def\n" "curbounds /h exch def /w exch def /y exch def /x exch def\n"
+ "/xoffset { w mul x add } def /yoffset { h mul y add } def\n" + "/xoffset { w mul x add } def /yoffset { h mul y add } def\n"
+ "x y w h oval h 0.35 mul setfontsize null setfillcol 0.5 xoffset 0.5 yoffset (C) (AND) text\n" + "x y w h oval h 0.35 mul setfontsize 0 0 0 0 setfillcol 0.5 xoffset 0.5 yoffset (C) (AND) text\n"
+ ":vertFlag\n" + ":vertFlag\n"
+ "{0.50 xoffset 0 yoffset 0.50 xoffset -0.20 yoffset line\n" + "{0.50 xoffset 0 yoffset 0.50 xoffset -0.20 yoffset line\n"
+ "0.50 xoffset 1.20 yoffset 0.50 xoffset 1.00 yoffset line\n" + "0.50 xoffset 1.20 yoffset 0.50 xoffset 1.00 yoffset line\n"
Expand All @@ -284,7 +284,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
private static final String NOT_SHAPE_DEFN = private static final String NOT_SHAPE_DEFN =
"curbounds /h exch def /w exch def /y exch def /x exch def\n" "curbounds /h exch def /w exch def /y exch def /x exch def\n"
+ "/xoffset { w mul x add } def /yoffset { h mul y add } def\n" + "/xoffset { w mul x add } def /yoffset { h mul y add } def\n"
+ "x y w h oval h 0.35 mul setfontsize null setfillcol 0.5 xoffset 0.5 yoffset (C) (NOT) text\n" + "x y w h oval h 0.35 mul setfontsize 0 0 0 0 setfillcol 0.5 xoffset 0.5 yoffset (C) (NOT) text\n"
+ ":vertFlag\n" + ":vertFlag\n"
+ "{0.50 xoffset 0 yoffset 0.50 xoffset -0.20 yoffset line\n" + "{0.50 xoffset 0 yoffset 0.50 xoffset -0.20 yoffset line\n"
+ "0.50 xoffset 1.20 yoffset 0.50 xoffset 1.00 yoffset line\n" + "0.50 xoffset 1.20 yoffset 0.50 xoffset 1.00 yoffset line\n"
Expand All @@ -295,7 +295,7 @@ public class SbgnPdNotationSyntaxService implements INotationSyntaxService {
+ "ifelse\n"; + "ifelse\n";
private static final String OR_SHAPE_DEFN = "curbounds /h exch def /w exch def /y exch def /x exch def\n" private static final String OR_SHAPE_DEFN = "curbounds /h exch def /w exch def /y exch def /x exch def\n"
+ "/xoffset { w mul x add } def /yoffset { h mul y add } def\n" + "/xoffset { w mul x add } def /yoffset { h mul y add } def\n"
+ "x y w h oval h 0.35 mul setfontsize null setfillcol 0.5 xoffset 0.5 yoffset (C) (OR) text\n" + "x y w h oval h 0.35 mul setfontsize 0 0 0 0 setfillcol 0.5 xoffset 0.5 yoffset (C) (OR) text\n"
+ ":vertFlag\n" + ":vertFlag\n"
+ "{0.50 xoffset 0 yoffset 0.50 xoffset -0.20 yoffset line\n" + "{0.50 xoffset 0 yoffset 0.50 xoffset -0.20 yoffset line\n"
+ "0.50 xoffset 1.20 yoffset 0.50 xoffset 1.00 yoffset line\n" + "0.50 xoffset 1.20 yoffset 0.50 xoffset 1.00 yoffset line\n"
Expand Down

0 comments on commit 2439bed

Please sign in to comment.