| 354 | } |
| 355 | |
| 356 | void LinearCode(const GradientInfo& info, const Matrix& /*perspectiveRemover*/, |
| 357 | const std::shared_ptr<MemoryWriteStream>& function) { |
| 358 | function->writeText("{"); |
| 359 | |
| 360 | function->writeText("pop\n"); // Just ditch the y value. |
| 361 | TileModeCode(TileMode::Clamp, function); |
| 362 | GradientFunctionCode(info, function); |
| 363 | function->writeText("}"); |
| 364 | } |
| 365 | |
| 366 | void RadialCode(const GradientInfo& info, const Matrix& /*perspectiveRemover*/, |
| 367 | const std::shared_ptr<MemoryWriteStream>& function) { |
no test coverage detected