Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Drawing rectangles with interpolated colors (different color for each corner)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jean-Claude Monnin  
View profile  
 More options Oct 21 2012, 3:28 pm
From: Jean-Claude Monnin <jc_mon...@emailplus.org>
Date: Sun, 21 Oct 2012 12:28:27 -0700 (PDT)
Local: Sun, Oct 21 2012 3:28 pm
Subject: Drawing rectangles with interpolated colors (different color for each corner)

I try to draw rectangles filled with an interpolated color form the corners
(a different color assigned at each corner).
I have a grid of data points that I would like to visualise on a map. I
would like to fill the area of this grid with interpolated colors in
between the data points. In OpenGL it's straightforward to achieve that
with a quad- or tri-strip and assigning a color to each vertex.
I didn't find an obvious way to do that in Skia. How can this be done in
Skia?

Thanks for your help.

Jean-Claude


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Reed  
View profile  
 More options Oct 22 2012, 8:12 am
From: Mike Reed <r...@google.com>
Date: Mon, 22 Oct 2012 08:11:52 -0400
Local: Mon, Oct 22 2012 8:11 am
Subject: Re: Drawing rectangles with interpolated colors (different color for each corner)
canvas->drawVertices(...)

On Sun, Oct 21, 2012 at 3:28 PM, Jean-Claude Monnin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Claude Monnin  
View profile  
 More options Oct 22 2012, 8:44 am
From: Jean-Claude Monnin <jc_mon...@emailplus.org>
Date: Mon, 22 Oct 2012 14:44:20 +0200
Local: Mon, Oct 22 2012 8:44 am
Subject: Re: Drawing rectangles with interpolated colors (different color for each corner)
Oops, I missed that while checking the docs. This is exactly what I need. Thanks.

On Oct 22, 2012, at 14:11 , Mike Reed <r...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »