Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5040

Re: Draw half-opaque polygon w/o additional products? (API only)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.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 Fri, 12 Apr 2013 19:28:30 +0200
Lines 45
Message-ID <asquhvF73mtU1@mid.individual.net> (permalink)
References <7356782c-2d78-4a7d-a005-38539a5304ba@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 kVrUtKK/D4TOG9pwJPSerQxd7fAxGFjXZyPquTBNhIbyrjZpsA
Cancel-Lock sha1:NAcHKyBGqfE2zWC53rHN8D/Y/pw=
In-Reply-To <7356782c-2d78-4a7d-a005-38539a5304ba@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:5040

Show key headers only | View raw


Hi Stephan,
I did a session about polygons in London and Cologne about polygons.
Did a search and found the demo material.  This should get you started.

Here a screenshot of how I use this in practize
http://cport.nl/cPort/clip0011.zoom80.jpg

Drop me an email and I send you an AEF. (see contactdetails on the website) 
It is all VO2.7 code, but you should not have much trouble getting it to 
work in VO2.8
Most interesting part (IMO) is the draw method. It contains a way to 
dynamicly create dim-array's. Thanks to Frans de Wit I was able to implement 
this.

Hope this suits your needs,

Erik




"Stefan Ungemach"  schreef in bericht 
news:7356782c-2d78-4a7d-a005-38539a5304ba@googlegroups.com...

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 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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