What's the design pattern I must draw attention when i develop vector editor?
What's开发者_如何学Go the design pattern I must draw attention when i develop vector editor?
Now I use composite pattern (composite draw objects) and fabric method - for creation draw objects, which make user.
And what is the patterns i can use for my vector editor?
Most likely you need these:
- Composite Pattern
- Visitor Pattern
- Command Pattern
And after that, you may need these as well:
- Strategy
- Decorator
- Observer
精彩评论