| 477 | static const EmbeddedFile& fragmentShader(); |
| 478 | |
| 479 | GraphLineWrapper(const ClampBounds& clamp, const PackedBrush* brush, float x, float y, float width, |
| 480 | float height, float thick, const GraphData& graph_data, ImageAtlas* data_atlas) : |
| 481 | Primitive(data_atlas, clamp, brush, x, y, width, height), data_atlas(data_atlas), |
| 482 | data(graph_data), packed_data(data_atlas->addData(data.data(), data.numPoints())) { |
| 483 | thickness = thick; |
| 484 | pixel_width = packed_data.w() - 1; |
| 485 | } |
| 486 | |
| 487 | void setVertexData(Vertex* vertices) const { |
| 488 | setPrimitiveData(vertices); |