![]() |
【转帖】problems with odgibasedrawobjectsetcolor90, please help
problems with odgibasedrawobject::setcolor(), please help
problems with odgibasedrawobject::setcolor(), please help hi, i moved 2 days ago from 1.08 to 1.09. rendering was ok in the previous release, but now it seems that the virtual method setcolor(oduint16 color) of my odgsbaseview derived object is not called anymore, so i don't know at what point to change the color in our rendering machine. can someone help me with this? thanks in advance for any help. best regards chudomir it should be overridden and handled at void exgsgdidevice::draw_color(colorref rgb) { if(m_currgb!=rgb) { m_bbrushvalid = m_bpenvalid = false; m_currgb = rgb; } } within exgsgdidevice.cpp. thank you for your reply. but it comes through setcurrtraits(), while i wanted to handle the direct set of the current color in the view-derived class (when it is set by the dwgdirect core). anyway, i'll goi through setcurrtraits() now... thanks again. regards chudomir |
所有的时间均为北京时间。 现在的时间是 03:33 PM. |