[wx-dev] wxMac, dccg.cpp what is m_macLocalOriginInPort?

Stefan Csomor csomor at advancedconcepts.ch
Tue May 1 22:36:54 PDT 2007


Hi

> looking further at wxDC code, I found m_macLocalOriginInPort
> in dccg.cpp in lines 1592 and 1593. I cannot even find
> where it is declared but I also don't see why it would
> not be compiled, so I'm confused...

dccg actually shouldn't be built anymore, as we either have quickdraw ie
dc.cpp or Quartz, ie graphics context which uses dcgraph, or am I now
confounded as well ?

the variable originally was used for giving the offset of a wxDC in a
GrafPort. Because a GrafPort in Mac consist of the entire drawable area
of a toplevel window, I've used that to have an internal way to adjust
offsets

Thanks,

Stefan





More information about the wx-dev mailing list