MCPcopy Create free account
hub / github.com/Tencent/tgfx / transform

Method transform

src/core/Canvas.cpp:594–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592 }
593
594 Fill transform(const Fill& fill) const override {
595 auto newFill = fill;
596 newFill.color.alpha *= layerFill.color.alpha;
597 newFill.blendMode = layerFill.blendMode;
598 newFill.colorFilter = ColorFilter::Compose(fill.colorFilter, layerFill.colorFilter);
599 return newFill;
600 }
601
602 private:
603 Fill layerFill = {};

Callers 1

clipPathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected