?¡ëPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À? ¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
*** FAQ *** .. currentmodule:: cairo Pycairo FAQ - Frequently Asked Questions ======================================== Q: Can I subclass pycairo classes? A: Cairo, the C library, is not an object oriented library, so a Python binding can never be a truly object oriented interface to cairo. One way to write the Python bindings for cairo would be as a single long list of module functions - this would be the most accurate representation of the underlying C library. Pycairo (and most other cairo language bindings?) instead chose to implement the bindings using Context, Surface, Pattern, etc classes. An advantage is that the classes organise cairo into groups of similar functions. A disadvantage is that creates an illusion that cairo is object oriented library, and people are then tempted to create subclasses to override cairo methods. When in fact there are no methods to override, just cairo functions which can't be overridden. The cairo documentation Appendix A "Creating a language binding for cairo" section "Memory Management" describes why deriving from a Surface creates problems and is best avoided. cairo.Context can be subclassed. All other pycairo subclasses cannot be subclassed. Q: How do I use pycairo with numpy? A: See test/isurface_create_for_data2.py Q: How do I use pycairo with pygame? A: See test/pygame-test1.py test/pygame-test2.py