Re: Adding a color pallete type box
<d.c.grice@xxxxxxxxxxxxxx> wrote in message
news:1130493134.436276.197460@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Not really sure how to explain this one but here goes, what i am
> trying to do is get a rectangle that can be shaded with different
> colors from top to bottom. For example I want to be able to select
> three points on the top side of the rectangle and then for each of the
> three points select a different color, so in the four sections of the
> rectangle that have been made they shade from top to bottom with the
> selected color.
Google: color gradient delphi
If I understand your question correctly this should give you a good start.
.
Relevant Pages
- Re: VB Printer Dialog Problem (VB6)
... Now of course you will probably want the right and bottom margins to also be 15 millimeters from the edges of the physical page as well. ... One other point is that when you have calculated these values you need to check that those positions do not lie outside of the printer's current "printable rectangle". ... You can check this by checking the values returned by the GetDeviceCaps API for PHYSICALOFFSETX and PHYSICALOFFSETY, which are always in printer pixels so you'll need to convert. ... (comp.lang.basic.visual.misc) - Re: How to draw with a PEN ?? Please help
... Pamela - ... right sides of the rectangle. ... the bottom and right sides. ... I don't know whether that would offset all the additional polygon ... (microsoft.public.dotnet.framework.drawing) - Re: DrawText fails when attempting to retrieve string extents
... "Phil Taylor" wrote in message ... > DT_CALCRECT is filling Right and Bottom to make the rectangle big enough. ... list that will allow the specification of a Rect. ... (microsoft.public.win32.programmer.directx.graphics) - Re: How to get tranformed bounds?
... bounding rectangle for those using a simple min-max test. ... bottom = Math.Max ... Private Sub TestNonWorkingBob() ... Dim left As Integer = 100000 ... (microsoft.public.dotnet.framework.drawing) - Re: A tables question!
... draw the AutoShape rectangle and set it behind text), ... of the Format AutoShape dialog is grayed out -- because the AutoShape ... bottom coincide with the table's top and bottom. ... (microsoft.public.word.pagelayout) |
|