added note tests
This commit is contained in:
		
							
								
								
									
										4
									
								
								tests/note/color/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								tests/note/color/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| # generated by tytanic, do not edit | ||||
|  | ||||
| diff/** | ||||
| out/** | ||||
							
								
								
									
										
											BIN
										
									
								
								tests/note/color/ref/1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								tests/note/color/ref/1.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 33 KiB | 
							
								
								
									
										13
									
								
								tests/note/color/test.typ
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tests/note/color/test.typ
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| #set page(width: auto, height: auto) | ||||
| #import "/src/lib.typ": * | ||||
|  | ||||
| #diagram({ | ||||
|   _par("a", display-name: "Alice") | ||||
|   _par("b", display-name: "Bob") | ||||
|  | ||||
|   _note("left", [This is displayed\ left of Alice.], pos: "a", color: rgb("#00FFFF")) | ||||
|   _note("right", [This is displayed right of Alice.], pos: "a") | ||||
|   _note("over", [This is displayed over Alice.], pos: "a") | ||||
|   _note("over", [This is displayed\ over Bob and Alice.], pos: ("a", "b"), color: rgb("#FFAAAA")) | ||||
|   _note("over", [This is yet another\ example of\ a long note.], pos: ("a", "b")) | ||||
| }) | ||||
		Reference in New Issue
	
	Block a user