Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
ia ã @ sX d dl mZ G dd„ dƒZG dd„ dƒZG dd„ dƒZG dd „ d ƒZG d
d„ deƒZdS )
é )ÚImagec @ s e Zd ZdZdd„ Zdd„ ZdS )ÚHDCz¤
Wraps an HDC integer. The resulting object can be passed to the
:py:meth:`~PIL.ImageWin.Dib.draw` and :py:meth:`~PIL.ImageWin.Dib.expose`
methods.
c C s
|| _ d S )N)Údc)Úselfr © r ú-/tmp/tmp5hum_rxs/lib64/python/PIL/ImageWin.pyÚ__init__ s zHDC.__init__c C s | j S )N)r )r r r r Ú__int__! s zHDC.__int__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r r r r r r r s r c @ s e Zd ZdZdd„ Zdd„ ZdS )ÚHWNDz¶
Wraps an HWND integer. The resulting object can be passed to the
:py:meth:`~PIL.ImageWin.Dib.draw` and :py:meth:`~PIL.ImageWin.Dib.expose`
methods, instead of a DC.
c C s
|| _ d S )N)Úwnd)r r r r r r , s z
HWND.__init__c C s | j S )N)r )r r r r r / s zHWND.__int__N)r
r r r
r r r r r r r % s r c @ sN e Zd ZdZddd„Zdd„ Zddd„Zd d
„ Zddd„Zd
d„ Z dd„ Z
dS )ÚDiba&
A Windows bitmap with the given mode and size. The mode can be one of "1",
"L", "P", or "RGB".
If the display requires a palette, this constructor creates a suitable
palette and associates it with the image. For an "L" image, 128 greylevels
are allocated. For an "RGB" image, a 6x6x6 colour cube is used, together
with 20 greylevels.
To make sure that palettes work properly under Windows, you must call the
``palette`` method upon certain events from Windows.
:param image: Either a PIL image, or a mode string. If a mode string is
used, a size must also be given. The mode can be one of "1",
"L", "P", or "RGB".
:param size: If the first argument is a mode string, this
defines the size of the image.
Nc C sj t |dƒr"t |dƒr"|j}|j}n|}d }|dkr