I'm making a program that requires an interface to draw in a 20x20 monochrome grid, then "dump" that grid to a boolean vector.
Currently I'm programming it with C++ and wxWidgets, but haven't found a way to create a grid to draw on, much less to "dump" said grid to a vector. Is there a way to do it with wxWidgets, or should I use a different system (eg GTK)?
看一下wxDC层次结构中的类。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.