public FgLayerItem(Fontogram fg, int pos) { PreviewFontogram = fg; PositionInFontogram = pos; UpdateTextApplication(); UpdateBackdropApplication(); }
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 }
public CodeGenerator(Fontogram fg) { _ReferenceFontogram = fg; }
public CodegenXaml(Fontogram fg) : base(fg) { }
public CodegenCsharp(Fontogram fg) : base(fg) { }