TargetPicture is a Picture generated by a Target using MakePicture method. This Picture can be drawn onto that (no other) Target together with a TargetTriangles generated by the same Target. The TargetTriangles specify where, shape and how the Picture should be drawn.
| 115 | // |
| 116 | // The TargetTriangles specify where, shape and how the Picture should be drawn. |
| 117 | type TargetPicture interface { |
| 118 | Picture |
| 119 | |
| 120 | // Draw draws the supplied TargetTriangles (which must be generated by the same Target as |
| 121 | // this TargetPicture) with this TargetPicture. The TargetTriangles should utilize the data |
| 122 | // from this TargetPicture in some way. |
| 123 | Draw(TargetTriangles) |
| 124 | } |
| 125 | |
| 126 | // PictureColor specifies Picture with Color property, so that every position inside the Picture's |
| 127 | // Bounds has a color. |
no outgoing calls
no test coverage detected