Beispiel #1
0
        public static LayerTranslator CreateSolidLayerTranslator(SolidLayerContext context)
        {
            // Emit issues for unupported layer effects.
            context.Effects.EmitIssueIfDropShadow();
            context.Effects.EmitIssueIfGaussianBlur();

            return(new SolidLayerTranslator(context));
        }
Beispiel #2
0
 internal SolidLayerTranslator(SolidLayerContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public static LayerTranslator CreateSolidLayerTranslator(SolidLayerContext context)
 => new SolidLayerTranslator(context);