add public copy constructor, support undefined images
temporarily remove lineTo
change createContext method to const
change createContext method to const, add line width
fix image scaling
change createContext method to const
add temporary debug code