![]() |
【转帖】question about vectorization process
question about vectorization process
question about vectorization process hi, could you tell me how the odgsopenglvectorizedevice::update(odgsdcrect* pupdatedrect) method work ? which odgsbasevectorizeview's method are called ?? when i want to do it myself i call : beginviewvectorization loadviewport update (in this one i call updateextents) endviewvectorization but it doesn't work fine when the style is conceptual... best regards.. visual style support is not implemented. it is planned for 2.6 release. vladimir thank you for your reply... i have my own renderer (using the dwgdirect vectorization framework). could you tell me how odgsbasevectorizeview's method are called in vectorization process ??? i just want know what are the method and in which order... best regards... currently device update is split in 2 parts: updategeometry() and updatescreen(). the first function updates geometry cache (if necessary). the second one updates screen, using the cache. updategeometry() checks if view needs updating, then calls view update sequence: // to take into account frozen layers pview->propagatelayerschanges(); if(pview->isvalid()) continue; pview->propagateinvalidvpflag(); pview->beginviewvectorization(); // invalidate cache if view properties has changed pview->updateviewprops(); // update cache pview->updateextents(true); pview->endviewvectorization(); updatescreen() calls another sequence: pview->beginviewvectorization(); pview->loadviewport(); // outputs geometry cache to the screen pview->display(false); pview->drawviewportframe(); pview->endviewvectorization(); vladimir thank you very much for your answer vladimir. best regards. |
所有的时间均为北京时间。 现在的时间是 08:47 PM. |