public StoryTextPainter(StoryTextEditorControl control)
 {
     m_control = control;
     D2dFactory.EnableResourceSharing(m_control.Handle);
     m_d2dGraphics = D2dFactory.CreateD2dHwndGraphics(m_control.Handle);
     CreateSharedResources();
 }
 public StoryTextPainter(StoryTextEditorControl control)
 {
     m_control = control;
     D2dFactory.EnableResourceSharing(m_control.Handle);
     m_d2dGraphics = D2dFactory.CreateD2dHwndGraphics(m_control.Handle);
     CreateSharedResources();
 }
 public StoryTextEditor(StoryDocument document)
 {
     m_Document = document;
     m_Control = new StoryTextEditorControl(this);
 }
Exemple #4
0
 public StoryTextEditor(StoryDocument document)
 {
     m_Document = document;
     m_Control  = new StoryTextEditorControl(this);
 }