Hi, Klaas!

We run into a drawing problem with a2dVisibleProperty updated
at runtime and we would appreciate your advice:

1) a2dVisibleProperty is created as follows:

   a2dVisibleProperty * pppvis =
       new a2dVisibleProperty( this, propid, x, y, true,
           new a2dFontDc( font_size, wxTELETYPE, wxNORMAL, wxBOLD ) );
   pppvis->ShowName( false );
   pppvis->SetNextLineDirection(true);
   pppvis->SetFill( a2dTRANSPARENT_FILL );
   pppvis->SetStroke(new a2dOneColourStroke(wxColour(_("BLACK")), 0.2));
   pppvis->SetMultiLine(true);
   pppvis->SetAlignment( wxLEFT|wxBBOX|wxBOTTOM);

2) The properties for objects on the diagram are updated
all at once every second with SetPropertyToObject() call.

3) Everything is working fine (see attached good.png screenshot) but sometimes
we get white areas over the property (see attached bad.png screenshot).

4) The problem appears or disappears if you slightly change the size, zoom or
objects layout.

I believe we are missing something really simple (e.g. some call after
all the property updates to force recalculation of something). But we can
not figure it out ourselves.

BTW, the diagrams from new version of wxart2d look MUCH nicer and more
polished. I guess, it is caused by some changes in the anti-aliasing.
Really, really great improvement!


Thanks in advance for your help!

Aleksey




PNG image

PNG image

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to