![]() |
【转帖】pline and odgimetafilerimplplineproc
pline and odgimetafilerimpl::plineproc
pline and odgimetafilerimpl::plineproc hi, here is my problem: currently odgimetafilerimpl::plineproc fff">is commented out in gimetafiler.cppfff">, and i'm trying to implement like this: code: void odgimetafilerimpl::plineproc(const odgipolyline& lwbuf, const odgematrix3d* pxform, oduint32 fromindex, oduint32 numsegs) { recpline* ppline; add(ppline = new recpline); ppline->plwbuf= odgipolyline::cast(&lwbuf)->clone(); ppline->pxform = pxform; ppline->fromindex = fromindex; ppline->numsegs = numsegs ; } the reason i'm doing so is that we're having problem with displaying plinefff"> when gsmodelfff"> is turned on. the arc is not drawn smooth when zoom in. the vector caching for plinefff"> is not the same as for circulararcfff"> or circlefff">. i'm trying to do the same thing for plinefff"> here. the above code seems work for me, but is this the right approach? should i do something differently? why was odgimetafilerimpl::plineproc fff"> commented out? i appreciate any answers. thanks. angela hi, your code seems fine. we commented it out to make cache redrawing faster - to do not process so complex primitive as pline every time. thank you. angela |
所有的时间均为北京时间。 现在的时间是 09:44 PM. |