Re: [cairo] Re: cairomm API/ABI freeze?



Jonathon Jongsma wrote:
What about the following?
Cairo::Context::begin_new_path()
Cairo::Context::begin_new_sub_path()

Advantages:
- retains a pretty close mapping to the C cairo functions
- retains an obvious parallellism between the two functions
- prefix 'begin_' makes it clear that we're not using 'new' in the C++ sense

Disadvantages:
- ?

Thoughts? opinions? alternate suggestions?

Sounds good. The 'begin_new_' prefix removes the C++ new operator confusion that I think 'new_' alone presents.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]