Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5051
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| 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 | Sun, 14 Apr 2013 18:57:02 +0200 |
| Lines | 61 |
| Message-ID | <at05f1Fbn1vU1@mid.individual.net> (permalink) |
| References | <7356782c-2d78-4a7d-a005-38539a5304ba@googlegroups.com> <b25b94d6-c1a5-48fc-ace0-4e4d6cee1db0@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net HBlDhsgi/pT5WBln1YijTALh2Pg/J3MSn+4yweb3U4xq8AlJCG |
| Cancel-Lock | sha1:09/OiCeyNrMl3gEAk3OOuDftlnU= |
| In-Reply-To | <b25b94d6-c1a5-48fc-ace0-4e4d6cee1db0@googlegroups.com> |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Importance | Normal |
| X-Newsreader | Microsoft Windows Live Mail 15.4.3555.308 |
| X-MimeOLE | Produced By Microsoft MimeOLE V15.4.3555.308 |
| Xref | csiph.com comp.lang.clipper.visual-objects:5051 |
Show key headers only | View raw
Hi Stephan, Sorry this sample does not work for your needs. It suites me, so I never studied further to get other results. (Ofcource you could try the different constants to see if they give you the result you need, but I guess you came up with that idea yourself) Another thing you could do is search on the internet for c-code that uses the polygon function that does what you want and rewrite it into VO. regards, Erik "Stefan Ungemach" schreef in bericht news:b25b94d6-c1a5-48fc-ace0-4e4d6cee1db0@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 Thanks Erik, I've tested your examples. Unfortunately they don't help me with my problem. I don't want some simple inversiopn of underlying pixels but more some kind of alpha-blending - like as if someone lays a colored foil over an image. Could that be achieved with your code, too (the onyl point could be the Init method of the polygon class, but I'm afraid that the constants there won't suit my needs)? Kind regards 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