Metadata-Version: 2.4
Name: wicanap
Version: 0.1.0
Summary: Minimal 2D graphics library for Python using WinAPI and ctypes
Author-email: Amir <vozamir1208@gmail.com>
License: pixapi — Personal-Use License
        Copyright (c) 2025 Amir
        
        This software is provided "as is" under the following conditions:
        
        You are permitted to:
        - Use this software for personal, educational, or non-commercial purposes
        - Modify the source code for private use only
        
        You are NOT permitted to:
        - Distribute this software, original or modified, publicly or commercially
        - Include this software or its parts in any commercial products
        - Publish this software or modified versions (e.g., on GitHub, PyPI) without written permission from the author
        
        All rights not explicitly granted are reserved by the author.
        
        📩 For commercial licenses or redistribution permissions, contact:
        vozamir1208@gmail.com
        
Project-URL: Homepage, https://github.com/yourusername/wicanap
Project-URL: Repository, https://github.com/yourusername/wicanap
Project-URL: Documentation, https://github.com/yourusername/wicanap#readme
Keywords: graphics,2d,windows,canvas,ctypes,gdi,rendering
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Games/Entertainment :: Arcade
Classifier: License :: Other/Proprietary License
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# wincap

**wincap** is a lightweight 2D graphics library for Python, built on top of WinAPI using `ctypes`.

It's designed for creating simple Windows-based applications with support for:
- primitives (lines, rectangles, circles)
- sprites with transparency
- smooth camera movement
- keyboard and mouse input
- and basic sound playback

---

## 🚀 Quick Example

```python
from wincap import Canvas, sound

win = Canvas(800, 600, "PixAPI Demo")
win.set_color("green")
win.DrawRect(2, -50, -50, 100, 100)

def draw(win):
    win.set_camera(0, 0)

win.run(draw)
