sysmodellibs/sysmodelgen/resources/auxiliary/Example-shapes.xml
changeset 6 5b32dc297d05
parent 3 e7e0ae78773e
child 7 3c36c452f013
equal deleted inserted replaced
3:e7e0ae78773e 6:5b32dc297d05
     1 <?xml version="1.0"?>
       
     2 <shapes xmlns:s="http://www.w3.org/2000/svg">
       
     3 
       
     4 	<s:defs>   
       
     5 		<!-- bright circle pattern -->
       
     6 		<s:radialGradient id="new" gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14">
       
     7 			<s:stop offset="0%" stop-color="white" stop-opacity="1"/>
       
     8 			<s:stop offset="100%" stop-opacity="0" stop-color="white" />
       
     9 		</s:radialGradient>
       
    10 
       
    11 		<!-- diagonal line pattern -->
       
    12 		<s:linearGradient id="ref" spreadMethod="repeat" gradientUnits="userSpaceOnUse" x1="0%" x2="15%" y1="0%" y2="15%">
       
    13 			<s:stop offset="0%" stop-opacity="0" stop-color="white" />
       
    14 			<s:stop offset="20%" stop-color="white" stop-opacity="1" />
       
    15 			<s:stop offset="40%" stop-opacity="0" stop-color="white" />
       
    16 			<s:stop offset="100%" stop-opacity="0" stop-color="white" />
       
    17 		</s:linearGradient>
       
    18 	</s:defs>
       
    19 
       
    20 	<!-- for some processors, /*/systemModel is much faster than //systemModel -->
       
    21 	
       
    22 	<!-- borders to use for OSD components -->
       
    23 	<!-- bracket, function or axis notation not allowed in use. Can only use blah/blah/@blah form -->
       
    24 	<borders use="s12[@ver=/*/systemModel/@ver]/@osd" label="Sched 12 Category" show-unused="yes">
       
    25 		<border type="box"/>
       
    26 		<border value="OS" type="box-clipLT"  label="Optional Symbian"/>
       
    27 		<border value="CS"  type="box-clipLB" label="Common Symbian"/>
       
    28 		<border value="CR"  type="box-clipRB"  label="Common Replace&#xad;able"/>
       
    29 		<border value="OR" viewBox="0 0 20 20"  label="Optional Replace&#xad;able">
       
    30   			<s:path d="M 0 0 L 0 20 L 20 20 L 20 5 L 15 0 z" stroke="black" />
       
    31   		</border>	
       
    32 		<border value="T-R" type="box-clipAll" label="Refer&#xad;ence/Test"/>
       
    33 	</borders>
       
    34 	
       
    35 	<patterns  show-unused="yes"> <!-- this is very slow, don't check if used -->
       
    36 		<overlay rule="s12[@ver=/*/systemModel/@ver]/@ref='true' or @ref='true'" type="striped-diag-up" label="Reference Compo&#xad;nent"/>
       
    37 		<overlay rule="@since = /*/systemModel/@ver or @introduced = /*/systemModel/@ver" type="radial-grad" label="New in {@ver}"/>
       
    38 	</patterns>
       
    39 	
       
    40 	<styles>
       
    41 		<style>stroke-width: 0.4</style>
       
    42 		<style rule="@plugin='true'" label="Plugin Compo&#xad;nent">stroke-width: 2</style>
       
    43 	</styles>
       
    44 <!--	<styles>
       
    45 		<style rule="Build and not(Build/*)" label="No build info">stroke-dasharray: 2,3; </style>
       
    46 	</styles> -->
       
    47 	 
       
    48 	 
       
    49 	<colors default="grey" use="@ts" label="Technology Streams">
       
    50 		 <color label="Connectivity Services" value="#cfb53b"/>
       
    51 		 <color label="Internet and Web Services" value="#ff8f68"/>
       
    52 		 <color label="Location Based Services" value="green"/>
       
    53 		 <color label="Java" value="#c0d9d9"/>
       
    54 		 <color label="Messaging" value="red"/>
       
    55 		 <color label="Multimedia" value="#8fbc8f"/>
       
    56 		 <color label="PIM Application Services" value="#ffff80"/>
       
    57 		 <color label="UI Frameworks" value="#00ff00"/>
       
    58 		 <color label="OS Packaging" value="#a29040"/>
       
    59 		 <color label="Platform Tools" value="#BAC97E"/>
       
    60 		 <color label="Software Engineering Tools" value="#56a1a1"/>
       
    61 		 <color label="Technical Documentation" value="#6A5182"/>
       
    62 		 <color label="Test Product" value="#544A38"/>
       
    63 		 <color label="System Engineering" value="#615FAD"/>
       
    64 		 <color label="Base Services" value="#8f8fbd"/>
       
    65 		 <color label="Baseband Adaption" value="#5f9f9f"/>
       
    66 		 <color label="Comms Framework" value="#527f76"/>
       
    67 		 <color label="Crypto Services" value="yellow"/>
       
    68 		 <color label="Development Boards" value="#934900"/>
       
    69 		 <color label="Kernel" value="#00ffff"/>
       
    70 		 <color label="Multimedia Protocols" value="#eaadea"/>
       
    71 		 <color label="IP Networking" value="#ff7f00"/>
       
    72 		 <color label="Open Environment" value="#817485"/>
       
    73 		 <color label="Peripherals" value="#008000"/>
       
    74 		 <color label="Persistent Data Services" value="#993366"/>
       
    75 		 <color label="Shortlink" value="#db7093"/>
       
    76 		 <color label="Telephony Services" value="#3299cc"/>
       
    77 		 <color label="Text and I18n Services" value="#9f9f5f"/> 
       
    78 	</colors>
       
    79 	<!-- these can also go in the model.xml in a legend element -->
       
    80 	<examples>
       
    81 		<cmp color="Graphics">Plug-in</cmp>
       
    82 		<cmp overlay="Reference Compo&#xad;nent" border="Common Symbian">Reference</cmp>
       
    83 		<cmp overlay="New in {@ver}">New {@ver}</cmp>
       
    84 		<!--<cmp style="No build info">No build info</cmp>	-->	
       
    85 	</examples>
       
    86 
       
    87 <!-- stuff without rule is the fallback option (used only if others are not used) -->
       
    88 </shapes>