Skip navigation
bfi616
Currently Being Moderated

Preview of art objects in real time.

Apr 23, 2013 7:52 AM

Hi together,

 

I'm programming a tool handling with width profile and width markers. I would like to see a preview while I'm editing the width marker values (in real time).

I'm editing the width of strokes during dragging the mouse in small steps. Each mouse drag event means a small adaption of the widths. The problem is, that I do not see the change during I drag the mouse. I see the change after I release the mouse. Is it possible to update the artwork during dragging the mouse? So that I see the art object changing during I drag the mouse.

 

Thank you very much

 
Replies
  • Currently Being Moderated
    Apr 23, 2013 11:09 AM   in reply to bfi616

    Try AIDocumentSuite::RedrawDocument(), it might do the trick.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2013 6:35 AM   in reply to bfi616

    This will sound stupid, but we've found that sometimes we have to call RedrawDocument() twice in a row to get it to properly update. Give that a try and see if it fixes it

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points