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

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