MCPcopy Create free account
hub / github.com/Tencent/libpag / CheckLayerProperty

Function CheckLayerProperty

exporter/src/export/ExportVerify.cpp:619–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619static void CheckLayerProperty(std::shared_ptr<PAGExportSession> session, pag::Layer* layer,
620 void*) {
621 CheckLayerMarkerCharacter(session, layer);
622 CheckLayerDisplacementMap(session, layer);
623 CheckLayerFlags(session, layer);
624 if (layer->type() == pag::LayerType::Text) {
625 CheckTextLayerAnimator(session, static_cast<pag::TextLayer*>(layer));
626 CheckTextLaterTransform(session, static_cast<pag::TextLayer*>(layer));
627 CheckTextLayerPathOption(session, static_cast<pag::TextLayer*>(layer));
628 }
629}
630
631static void CheckLayerProperty(std::shared_ptr<PAGExportSession> session,
632 std::vector<pag::Composition*>& compositions) {

Callers 1

CheckBeforeExportFunction · 0.85

Calls 8

CheckLayerFlagsFunction · 0.85
CheckTextLayerAnimatorFunction · 0.85
CheckTextLaterTransformFunction · 0.85
CheckTextLayerPathOptionFunction · 0.85
TraversalLayersFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected