![]() |
【转帖】odgibasevectorizerdraw9const odgidrawable pdrawable0
odgibasevectorizer::draw(const odgidrawable* pdrawable)
odgibasevectorizer::draw(const odgidrawable* pdrawable) we have a class odmyview which inherits from od2dexportview which inherits from odgibasevectorizer during the call to odmyview::draw(const odgidrawable* pdrawable) we encounter oddbdimension using pdrawable->iskindof( oddbdimension::desc() ) oddbdimension is kdrawableiscompoundobject or odgidrawable::setattributesflags::kdrawableisdimen sion which includes kdrawableiscompoundobject kdrawableisdimension = (kdrawableisanentity + kdrawableiscompoundobject + 128) the subsequent call to odmyview::draw(const odgidrawable* pdrawable) processes the entities (oddbentity) that are part of this oddbdimension. how can we determind that the subsequent entities are part of this oddbdimension using pdrawable? or is there any other way we can do this? thanks, codey e.g. this manner: code: bool bdimensionchild(false); if(currentdrawabledesc() && currentdrawabledesc()->pparent) bdimensionchild = currentdrawabledesc()->pparent->ndrawableflags & kdrawableisdimension; sincerely yours, george udov |
| 所有的时间均为北京时间。 现在的时间是 06:18 AM. |