예제 #1
0
        public FgLayerItem(Fontogram fg, int pos)
        {
            PreviewFontogram = fg;

            PositionInFontogram = pos;


            UpdateTextApplication();

            UpdateBackdropApplication();
        }
예제 #2
0
        public MainWndDataContext(Fontogram fgPreview, LayerEditor layerEditor)
        {
            _FgPreview = fgPreview;

            _LayerEditor = layerEditor;
            _LayerEditor.SetLayerCreator(this);
            _LayerEditor.LayersChanged += _LayerEditor_LayersChanged;


            _ExportBitmapCommand = new ExportBitmapCommand(this);


            _CodegenXaml = new CodegenXaml(fgPreview);

            _CodegenCsharp = new CodegenCsharp(fgPreview);


            foreach (var readyMadeID in (ReadyMadeFontogram[])Enum.GetValues(typeof(ReadyMadeFontogram)))
            {
                ReadyMadeFontogramChoices.Add(readyMadeID);
            }

            this.ReadyMadeFontogramSelection = 0;   // default is "none" - an item separate from ReadyMadeFontogramChoices
        }
예제 #3
0
파일: Codegen.cs 프로젝트: cris-p/Fontogram
 public CodeGenerator(Fontogram fg)
 {
     _ReferenceFontogram = fg;
 }
예제 #4
0
파일: Codegen.cs 프로젝트: cris-p/Fontogram
 public CodegenXaml(Fontogram fg)
     : base(fg)
 {
 }
예제 #5
0
파일: Codegen.cs 프로젝트: cris-p/Fontogram
 public CodegenCsharp(Fontogram fg)
     : base(fg)
 {
 }