Article View: alt.comp.shareware
Article #513C++ library: Windows GDI wrapper. Sources avail. Shareware
From: stepanv
Date: Mon, 20 May 1996 00:00
Date: Mon, 20 May 1996 00:00
43 lines
2686 bytes
2686 bytes
KNOW-HOW GDI - C++ library, WIN GDI extender
Check our:
http://home.istar.ca/~stepanv/Know_how.html (Capital 'K' in Know_how)
KH GDI is a DLL written using C++ (tested with Borland C++ 4.52).
Its primary purpose is to wrap WIN API GDI calls, to hide the most
complex aspects of the vector drawing from the programmer.
You can perform the following tasks with KH GDI (only few basic
features listed):
1. Zoom your image or part of it:
draw_pig(); // Your function
zoom(2.5, 3.1) // Extend 2.5 times horizontally and 3.1 -
vertically
draw_pig(); // Same function draws extended picture
2. Scroll your image or part of it:
draw_pig();
scroll(200, 200); // All output after this command will
// be scrolled
draw_pig(); // Same function produces picture in the
// different location
3. Mirror reflection.
draw_pig(); // Your function
mirror(100, 100); // Vertical mirror, all output after this
// command will be reflected
draw_pig(); // Draw reflected picture
4. Rotation and nested rotation:
draw_pig(); // Your function
rotate(alpha, x, y); // All output after this command will be
// rotated alpha degrees relatively to
// point (x, y)
draw_pig(); // Rotated picture
rotate(beta, x1, y1); // All output after this command will be
// rotated (alpha, x, y) and then
// (beta, x1, y1)
draw_pig(); // Image after complex rotation
endrotate(); // End second rotation
endrotate(); // End first rotation
Technical Details
Message-ID:
<4nq6v6$eom@news.istar.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10afa1,b99037d058b2d984,start X-Google-Attributes: gid10afa1,public X-Google-Thread: 11431d,b99037d058b2d984,start X-Google-Attributes: gid11431d,public X-Google-Thread: 10e06d,b99037d058b2d984,start X-Google-Attributes: gid10e06d,public X-Google-Thread: fac98,b99037d058b2d984,start X-Google-Attributes: gidfac98,public X-Google-Thread: 10d3f2,b99037d058b2d984,start X-Google-Attributes: gid10d3f2,public X-Google-Thread: 109fba,b99037d058b2d984,start X-Google-Attributes: gid109fba,public From: stepanv@istar.com Subject: C++ library: Windows GDI wrapper. Sources avail. Shareware Date: 1996/05/20 Message-ID: <4nq6v6$eom@news.istar.ca> X-Deja-AN: 155773814 organization: iSTAR internet inc. newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,comp.lang.c++,comp.os.ms-windows,de.comp.shareware,fido.ger.shareware