| 73 | } |
| 74 | |
| 75 | static unsigned int add_stipple2 (lay::LayoutViewBase *view, const std::string &name, const std::string &s) |
| 76 | { |
| 77 | lay::DitherPattern pattern (view->dither_pattern ()); |
| 78 | |
| 79 | lay::DitherPatternInfo p; |
| 80 | p.from_string (s); |
| 81 | p.set_name (name); |
| 82 | unsigned int index = pattern.add_pattern (p); |
| 83 | |
| 84 | view->set_dither_pattern (pattern); |
| 85 | |
| 86 | return index; |
| 87 | } |
| 88 | |
| 89 | static std::string get_stipple (lay::LayoutViewBase *view, unsigned int index) |
| 90 | { |
nothing calls this directly
no test coverage detected