Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5043
| From | "Er!k \\/!$$Er" <nospam@nospam.url> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Draw half-opaque polygon w/o additional products? (API only) |
| Date | 2013-04-12 22:56 +0200 |
| Message-ID | <asran6F9tpfU1@mid.individual.net> (permalink) |
| References | <7356782c-2d78-4a7d-a005-38539a5304ba@googlegroups.com> <8de29515-5006-4de0-a8fe-d810b6df09ee@googlegroups.com> |
Stefan, > but can you also implement HALF-opaque shapes Yes they are! They are kind of transparant and the color also changes when the background color changes. The sample also containse rotation of the polygon and a very fast and acurate hittest. Just drop me and email.. Erik "Stefan Ungemach" schreef in bericht news:8de29515-5006-4de0-a8fe-d810b6df09ee@googlegroups.com... Am Freitag, 12. April 2013 18:12:16 UTC+2 schrieb Stefan Ungemach: > Hi, > > > > does anybody have an idea how to draw a semi-transparent polygon in a DC? > I am drawing all kinds of basic forms using TextObject, RectangleObject > etc. and even did write an own PolygonObject class inheriting from > DrawObject - but I need to draw these forms half opaque. Actually I can > only draw them transparent or solid. Can somebody help me? > > > > And please - do NOT post another hint like using Graphics4VO or something > similar. I KNOW the product and even own it, but I cannot use it since it > relies on subclassed windows who have some other characteristics I cannot > use (i.e. I have to lay some bitmaps on them as a background, and doing so > many times causes memory leaks). I had my reasons to use DrawObjects in my > code, it is NO option to change it bottom up, basic disussions like they > are often initiated by Geoff & Co. do NOT help me - so please just accept > it and help me using the API. > > > > > > TIA > > Stefan Hi Erik, this would be great - but can you also implement HALF-opaque shapes (which means: a little bit transparent, as to say "colour shaded")? Your example looks like a fully solid polygon. Let me explain my concrete problem. I draw terrain maps which are dynamically generated from elevation data. They look like 3d shaded images of mountains and valleys. Now I want to implement airspace overlays, but the details of the maps and waypoints still need to be seen beneath these layers. Do you think your approach can help me with this task? Cheers Stefan
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Draw half-opaque polygon w/o additional products? (API only) Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2013-04-12 09:12 -0700
Re: Draw half-opaque polygon w/o additional products? (API only) "Er!k \\/!$$Er" <nospam@nospam.url> - 2013-04-12 19:28 +0200
Re: Draw half-opaque polygon w/o additional products? (API only) "Willie Moore" <williem@wmconsulting.com> - 2013-04-12 13:41 -0500
Re: Draw half-opaque polygon w/o additional products? (API only) "Er!k \\/!$$Er" <nospam@nospam.url> - 2013-04-12 23:01 +0200
Re: Draw half-opaque polygon w/o additional products? (API only) Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2013-04-13 00:25 -0700
Re: Draw half-opaque polygon w/o additional products? (API only) "Er!k \\/!$$Er" <nospam@nospam.url> - 2013-04-13 09:41 +0200
Re: Draw half-opaque polygon w/o additional products? (API only) Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2013-04-12 12:35 -0700
Re: Draw half-opaque polygon w/o additional products? (API only) "Er!k \\/!$$Er" <nospam@nospam.url> - 2013-04-12 22:56 +0200
Re: Draw half-opaque polygon w/o additional products? (API only) Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2013-04-13 06:14 -0700
Re: Draw half-opaque polygon w/o additional products? (API only) "Er!k \\/!$$Er" <nospam@nospam.url> - 2013-04-14 18:57 +0200
Re: Draw half-opaque polygon w/o additional products? (API only) "Er!k \\/!$$Er" <nospam@nospam.url> - 2013-04-14 19:01 +0200
Re: Draw half-opaque polygon w/o additional products? (API only) "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-04-15 09:19 +0200
Re: Draw half-opaque polygon w/o additional products? (API only) Gustavo Biasone <rosario.soft@gmail.com> - 2013-04-15 10:53 -0700
csiph-web