|
Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <setjmp.h>#include <time.h>#include <math.h>#include <windows.h>#include <conio.h>#include "readpng2.h"Go to the source code of this file.
Macros | |
| #define | PROGNAME "rpng2-win" |
| #define | LONGNAME "Progressive PNG Viewer for Windows" |
| #define | VERSION "2.02 of 16 March 2008" |
| #define | PI 3.141592653589793238 |
| #define | PI_2 (PI*0.5) |
| #define | INV_PI_360 (360.0 / PI) |
| #define | MAX(a, b) (a>b?a:b) |
| #define | MIN(a, b) (a<b?a:b) |
| #define | CLIP(a, min, max) MAX(min,MIN((a),max)) |
| #define | ABS(a) ((a)<0?-(a):(a)) |
| #define | CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */ |
| #define | ROUNDF(f) ((int)(f + 0.5)) |
| #define | rgb1_max bg_freq |
| #define | rgb1_min bg_gray |
| #define | rgb2_max bg_bsat |
| #define | rgb2_min bg_brot |
| #define | alpha_composite(composite, fg, alpha, bg) |
| #define | INBUFSIZE |
Functions | |
| LRESULT CALLBACK | rpng2_win_wndproc (HWND, UINT, WPARAM, LPARAM) |
| int WINAPI | WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, PSTR cmd, int showmode) |
| #define alpha_composite | ( | composite, | |
| fg, | |||
| alpha, | |||
| bg | |||
| ) |
Definition at line 128 of file rpng2-win.c.
Definition at line 110 of file rpng2-win.c.
| #define INBUFSIZE |
Definition at line 135 of file rpng2-win.c.
| #define INV_PI_360 (360.0 / PI) |
Definition at line 105 of file rpng2-win.c.
| #define LONGNAME "Progressive PNG Viewer for Windows" |
Definition at line 88 of file rpng2-win.c.
| #define PI 3.141592653589793238 |
Definition at line 102 of file rpng2-win.c.
| #define PI_2 (PI*0.5) |
Definition at line 104 of file rpng2-win.c.
| #define PROGNAME "rpng2-win" |
Definition at line 87 of file rpng2-win.c.
| #define rgb1_max bg_freq |
Definition at line 113 of file rpng2-win.c.
| #define rgb1_min bg_gray |
Definition at line 114 of file rpng2-win.c.
| #define rgb2_max bg_bsat |
Definition at line 115 of file rpng2-win.c.
| #define rgb2_min bg_brot |
Definition at line 116 of file rpng2-win.c.
Definition at line 111 of file rpng2-win.c.
| #define VERSION "2.02 of 16 March 2008" |
Definition at line 89 of file rpng2-win.c.
| LRESULT CALLBACK rpng2_win_wndproc | ( | HWND | hwnd, |
| UINT | iMsg, | ||
| WPARAM | wP, | ||
| LPARAM | lP | ||
| ) |
Definition at line 1188 of file rpng2-win.c.
References _mainprog_info::height, and _mainprog_info::width.
Definition at line 247 of file rpng2-win.c.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:57.
© Copyright Michele Bosi. All rights reserved.