| 121 | ///////////////////////////////////////////////////////////////////////////// |
| 122 | |
| 123 | void PathFillDesc::Rasterize(uint8_t* dest, int width, int height, bool blend) |
| 124 | { |
| 125 | if (!blend) |
| 126 | { |
| 127 | memset(dest, 0, width * height); |
| 128 | } |
| 129 | PathFillRasterizer rasterizer; |
| 130 | rasterizer.Rasterize(*this, dest, width, height); |
| 131 | } |
| 132 | |
| 133 | ///////////////////////////////////////////////////////////////////////////// |
| 134 |