massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Pillow / PIL / ImageWin.pyi
1 from typing import Any
2
3 class HDC:
4     dc: Any
5     def __init__(self, dc) -> None: ...
6     def __int__(self): ...
7
8 class HWND:
9     wnd: Any
10     def __init__(self, wnd) -> None: ...
11     def __int__(self): ...
12
13 class Dib:
14     image: Any
15     mode: Any
16     size: Any
17     def __init__(self, image, size: Any | None = ...) -> None: ...
18     def expose(self, handle): ...
19     def draw(self, handle, dst, src: Any | None = ...): ...
20     def query_palette(self, handle): ...
21     def paste(self, im, box: Any | None = ...) -> None: ...
22     def frombytes(self, buffer): ...
23     def tobytes(self): ...
24
25 class Window:
26     hwnd: Any
27     def __init__(self, title: str = ..., width: Any | None = ..., height: Any | None = ...) -> None: ...
28     def ui_handle_clear(self, dc, x0, y0, x1, y1) -> None: ...
29     def ui_handle_damage(self, x0, y0, x1, y1) -> None: ...
30     def ui_handle_destroy(self) -> None: ...
31     def ui_handle_repair(self, dc, x0, y0, x1, y1) -> None: ...
32     def ui_handle_resize(self, width, height) -> None: ...
33     def mainloop(self) -> None: ...
34
35 class ImageWindow(Window):
36     image: Any
37     def __init__(self, image, title: str = ...) -> None: ...
38     def ui_handle_repair(self, dc, x0, y0, x1, y1) -> None: ...