The main ideea:
I havea 513x513 array of values....I draw a sort of map using that values
for colors... so I have a realistic lanscape (map).
I want to zoom about 60 times that map...and the zoomed area to be drawn on
full screen.
I want to draw it smoth not a square of 60 pixels x 60 pixels
with one color, because I can see blocks and it's not good.
There is a way to interpoate the colors between rectangles to show a smoth
zoom?
Crirus 13 2043
Hi Cirus, I want to draw it smoth not a square of 60 pixels x 60 pixels with one color, because I can see blocks and it's not good. There is a way to interpoate the colors between rectangles to show a smoth zoom?
Change the interpolation mode of the graphics object that you are using to
scale the image...
Graphics.InterpolationMode = ...
You can select "High Quality Bilinear", this will give a good quality
smoothed finish when using the drawImage method of the graphics object.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I dint experienced yet, but can you tell me if the final zoomed image looks
like I do it in photoshop?
Because a 60 timese enlarge for a pixel is lot of zoom :)
Actualy I have a 513x513 map and need one image at tile level zoom
"Nak" <a@a.com> wrote in message
news:Oq**************@TK2MSFTNGP12.phx.gbl... Hi Cirus,
I want to draw it smoth not a square of 60 pixels x 60 pixels with one color, because I can see blocks and it's not good. There is a way to interpoate the colors between rectangles to show a
smoth zoom? Change the interpolation mode of the graphics object that you are using to scale the image...
Graphics.InterpolationMode = ...
You can select "High Quality Bilinear", this will give a good quality smoothed finish when using the drawImage method of the graphics object.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Hi Nick,
Did you get my email (6:20 yesterday evening)?
Fergus
Hi Fergus, Did you get my email (6:20 yesterday evening)?
Yup, email was recieved, but I could only reply today, did you get my reply?
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Crirus,
Have you tried either a LinearGradientBrush or PathGradientBrush?
Both can be found in the System.Drawing.Drawing2D namespace.
A LinearGradientBrush transitions between two colors based on two parallel
lines.
A PathGradientBrush transitions between n colors based on m points.
Charles Petzold's book "Programming Microsoft Windows with Microsoft Visual
Basic .NET" from MS Press has a chapter were he discusses at length both
brushes with examples.
I don't have a clean example, I would consider a PathGradientBrush, where
the four corners of the square is the four points of the polygon used to
define the PathGradientBrush, I'm not sure where the center point for the
brush would be (the center of the square maybe). I think the colors for each
corner would be the color for that point (array value).
Alternatively have you looked at the Managed DirectX 9 SDK?
Hope this helps
Jay
"Crirus" <Cr****@datagroup.ro> wrote in message
news:ec**************@tk2msftngp13.phx.gbl... The main ideea: I havea 513x513 array of values....I draw a sort of map using that values for colors... so I have a realistic lanscape (map). I want to zoom about 60 times that map...and the zoomed area to be drawn
on full screen.
I want to draw it smoth not a square of 60 pixels x 60 pixels with one color, because I can see blocks and it's not good. There is a way to interpoate the colors between rectangles to show a smoth zoom?
Crirus
Hi Cirus, I dint experienced yet, but can you tell me if the final zoomed image
looks like I do it in photoshop? Because a 60 timese enlarge for a pixel is lot of zoom :) Actualy I have a 513x513 map and need one image at tile level zoom
If you test the various interpolation mode settings you can choose one that
looks best for you. Photoshop resizes using 3 different techniques, the 3
different techniques are employed by the .NET framework also, these 3
different techniques translate as
Bicubic = High quality bicubic
Bilinear = High quality bilinear
Nearest neighbour = Nearest neighbour
Take a look at the interpolationmode enumeration. Also if you go into
Photoshop and select "Image > Image Size" from the menu you will be
displayed with another dialog, at the bottom of the dialog is the selection
for the interpolation mode that Photoshop will use when resizing the image,
try all 3 types out to see their effects.
I hope this helps.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"Crirus" <Cr****@datagroup.ro> wrote in message
news:e2**************@TK2MSFTNGP11.phx.gbl...
"Nak" <a@a.com> wrote in message news:Oq**************@TK2MSFTNGP12.phx.gbl... Hi Cirus,
I want to draw it smoth not a square of 60 pixels x 60 pixels with one color, because I can see blocks and it's not good. There is a way to interpoate the colors between rectangles to show a smoth zoom?
Change the interpolation mode of the graphics object that you are using
to scale the image...
Graphics.InterpolationMode = ...
You can select "High Quality Bilinear", this will give a good quality smoothed finish when using the drawImage method of the graphics object.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Well, I did tried that way photoshop interpolate...unfortunately the zoom
sems to be to high to have a nice result..too blury...
"Nak" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Hi Cirus,
I dint experienced yet, but can you tell me if the final zoomed image looks like I do it in photoshop? Because a 60 timese enlarge for a pixel is lot of zoom :) Actualy I have a 513x513 map and need one image at tile level zoom
If you test the various interpolation mode settings you can choose one
that looks best for you. Photoshop resizes using 3 different techniques, the 3 different techniques are employed by the .NET framework also, these 3 different techniques translate as
Bicubic = High quality bicubic Bilinear = High quality bilinear Nearest neighbour = Nearest neighbour
Take a look at the interpolationmode enumeration. Also if you go into Photoshop and select "Image > Image Size" from the menu you will be displayed with another dialog, at the bottom of the dialog is the
selection for the interpolation mode that Photoshop will use when resizing the
image, try all 3 types out to see their effects.
I hope this helps.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "Crirus" <Cr****@datagroup.ro> wrote in message news:e2**************@TK2MSFTNGP11.phx.gbl...
"Nak" <a@a.com> wrote in message news:Oq**************@TK2MSFTNGP12.phx.gbl... Hi Cirus,
> I want to draw it smoth not a square of 60 pixels x 60 pixels > with one color, because I can see blocks and it's not good. > There is a way to interpoate the colors between rectangles to show a smoth > zoom?
Change the interpolation mode of the graphics object that you are
using to scale the image...
Graphics.InterpolationMode = ...
You can select "High Quality Bilinear", this will give a good quality smoothed finish when using the drawImage method of the graphics
object. Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ "No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Hi there Cirrus, I attached what I acieved so farr.. with a question How can I interpolate a small area on say, perspectiveZoom of each tile
with the addiacent tile.. I whould like to make a smooth transition, but I dont want to extend the interpolation to the center of neighboor tile, only a few pixels on each border
If the built in interpolation modes do not work for you the only way I can
think of would be to attempt to implement your own. You would have to
create the initial image without interpolation using the nearestneighbour
interpolation mode, and then manipulate it manually to the desired degree.
Have you tried the other interpolation modes? If Photoshop couldn't do it
as you wanted then don't expect the .NET framework to! Photoshops graphical
powers are very high.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Crirus,
If I am following your question: within the 60 x 60 tile, consider using a
gradient function along the border of each cell, where you are using a
border of say 10, my concern would be the corners...
I would consider making the corner itself between the tiles the center point
(not sure which color I would use) instead of the center of a tile as I was
originally thinking. So I would wind up with a + sign in each corner with
each leg about 20 wide...
Basically for two adjacent tiles, I would have three brushes, the first tile
which is 60 x 50, the middle 'tile/border' which is 60 x 20, then the second
tile which is 60 x 50, . The middle 'tile/border' would be the gradient
between the two tiles... Of course because we are actually taking four
adjacent tiles, there would be 9 brushes...
Note: I am just thinking out loud here, I have not actually done this or
tried this, hopefully you come up with an idea that works.
Hope this helps
Jay
"Crirus" <Cr****@datagroup.ro> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... I attached what I acieved so farr.. with a question How can I interpolate a small area on say, perspectiveZoom of each tile
with the addiacent tile.. I whould like to make a smooth transition, but I dont want to extend the interpolation to the center of neighboor tile, only a few pixels on each border
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in
message news:u7**************@tk2msftngp13.phx.gbl... Crirus, Have you tried either a LinearGradientBrush or PathGradientBrush?
Both can be found in the System.Drawing.Drawing2D namespace.
A LinearGradientBrush transitions between two colors based on two
parallel lines.
A PathGradientBrush transitions between n colors based on m points.
Charles Petzold's book "Programming Microsoft Windows with Microsoft Visual Basic .NET" from MS Press has a chapter were he discusses at length both brushes with examples.
I don't have a clean example, I would consider a PathGradientBrush,
where the four corners of the square is the four points of the polygon used to define the PathGradientBrush, I'm not sure where the center point for
the brush would be (the center of the square maybe). I think the colors for each corner would be the color for that point (array value).
Alternatively have you looked at the Managed DirectX 9 SDK?
Hope this helps Jay
"Crirus" <Cr****@datagroup.ro> wrote in message news:ec**************@tk2msftngp13.phx.gbl... The main ideea: I havea 513x513 array of values....I draw a sort of map using that values for colors... so I have a realistic lanscape (map). I want to zoom about 60 times that map...and the zoomed area to be drawn on full screen.
I want to draw it smoth not a square of 60 pixels x 60 pixels with one color, because I can see blocks and it's not good. There is a way to interpoate the colors between rectangles to show a smoth zoom?
Crirus
Hi Jay, Note: I am just thinking out loud here, I have not actually done this or tried this, hopefully you come up with an idea that works.
Yeah, please share if you do Crirus, it would be interesting to see this
implemented and how much processing overheads are required.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Well, Jay you got the ideea... I was thinking on something similar, but I
still hope there is a Framework class that can interpolate a custom area
between 2 points not a gradient startig at one point and ending at the
other.
The ideea is to simulate the Photoshop gradient tool
The smaller gradient tool is dragged, the sharper the interpolation that
take place.
And if I dragg the gradient tool from one edge to the other of the canvas,
the interpolation is like GradientBrush do it here
Can I set a smaller interval to have the gradient executed?
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message
news:OQ****************@TK2MSFTNGP09.phx.gbl... Crirus, If I am following your question: within the 60 x 60 tile, consider using a gradient function along the border of each cell, where you are using a border of say 10, my concern would be the corners...
I would consider making the corner itself between the tiles the center
point (not sure which color I would use) instead of the center of a tile as I
was originally thinking. So I would wind up with a + sign in each corner with each leg about 20 wide...
Basically for two adjacent tiles, I would have three brushes, the first
tile which is 60 x 50, the middle 'tile/border' which is 60 x 20, then the
second tile which is 60 x 50, . The middle 'tile/border' would be the gradient between the two tiles... Of course because we are actually taking four adjacent tiles, there would be 9 brushes...
Note: I am just thinking out loud here, I have not actually done this or tried this, hopefully you come up with an idea that works.
Hope this helps Jay
"Crirus" <Cr****@datagroup.ro> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl... I attached what I acieved so farr.. with a question How can I interpolate a small area on say, perspectiveZoom of each tile with the addiacent tile.. I whould like to make a smooth transition, but I dont want to extend the interpolation to the center of neighboor tile, only a few pixels on each border
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message news:u7**************@tk2msftngp13.phx.gbl... Crirus, Have you tried either a LinearGradientBrush or PathGradientBrush?
Both can be found in the System.Drawing.Drawing2D namespace.
A LinearGradientBrush transitions between two colors based on two parallel lines.
A PathGradientBrush transitions between n colors based on m points.
Charles Petzold's book "Programming Microsoft Windows with Microsoft Visual Basic .NET" from MS Press has a chapter were he discusses at length
both brushes with examples.
I don't have a clean example, I would consider a PathGradientBrush, where the four corners of the square is the four points of the polygon used
to define the PathGradientBrush, I'm not sure where the center point for the brush would be (the center of the square maybe). I think the colors
for each corner would be the color for that point (array value).
Alternatively have you looked at the Managed DirectX 9 SDK?
Hope this helps Jay
"Crirus" <Cr****@datagroup.ro> wrote in message news:ec**************@tk2msftngp13.phx.gbl... > The main ideea: > I havea 513x513 array of values....I draw a sort of map using that values > for colors... so I have a realistic lanscape (map). > I want to zoom about 60 times that map...and the zoomed area to be drawn on > full screen. > > I want to draw it smoth not a square of 60 pixels x 60 pixels > with one color, because I can see blocks and it's not good. > There is a way to interpoate the colors between rectangles to show a smoth > zoom? > > Crirus > > >
Crirus,
Can you post the color data for say 25 tiles? (5 rows of 5 columns each). As
I understand that each tile is a single color, this would be 25 colors.
Then I can play with a couple of my ideas, and possible post a code snippet.
It would however be later today or this weekend before I got to it.
Unfortunately I do not use Photoshop itself. Can I set a smaller interval to have the gradient executed?
Only in that you can define the size of the brush & you can define the size
of the tile you are drawing into. If you want a smaller interval I would
define the brush for a smaller part of the tile, and then only draw that
smaller part of the tile...
Hope this helps
Jay
"Crirus" <Cr****@datagroup.ro> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl... Well, Jay you got the ideea... I was thinking on something similar, but I still hope there is a Framework class that can interpolate a custom area between 2 points not a gradient startig at one point and ending at the other. The ideea is to simulate the Photoshop gradient tool The smaller gradient tool is dragged, the sharper the interpolation that take place. And if I dragg the gradient tool from one edge to the other of the canvas, the interpolation is like GradientBrush do it here
Can I set a smaller interval to have the gradient executed?
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in
message news:OQ****************@TK2MSFTNGP09.phx.gbl... Crirus, If I am following your question: within the 60 x 60 tile, consider using
a gradient function along the border of each cell, where you are using a border of say 10, my concern would be the corners...
I would consider making the corner itself between the tiles the center point (not sure which color I would use) instead of the center of a tile as I was originally thinking. So I would wind up with a + sign in each corner
with each leg about 20 wide...
Basically for two adjacent tiles, I would have three brushes, the first tile which is 60 x 50, the middle 'tile/border' which is 60 x 20, then the second tile which is 60 x 50, . The middle 'tile/border' would be the gradient between the two tiles... Of course because we are actually taking four adjacent tiles, there would be 9 brushes...
Note: I am just thinking out loud here, I have not actually done this or tried this, hopefully you come up with an idea that works.
Hope this helps Jay
"Crirus" <Cr****@datagroup.ro> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl... I attached what I acieved so farr.. with a question How can I interpolate a small area on say, perspectiveZoom of each
tile with the addiacent tile.. I whould like to make a smooth transition, but I dont want to extend
the interpolation to the center of neighboor tile, only a few pixels on
each border
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message news:u7**************@tk2msftngp13.phx.gbl... > Crirus, > Have you tried either a LinearGradientBrush or PathGradientBrush? > > Both can be found in the System.Drawing.Drawing2D namespace. > > A LinearGradientBrush transitions between two colors based on two parallel > lines. > > A PathGradientBrush transitions between n colors based on m points. > > Charles Petzold's book "Programming Microsoft Windows with Microsoft Visual > Basic .NET" from MS Press has a chapter were he discusses at length
both > brushes with examples. > > I don't have a clean example, I would consider a PathGradientBrush, where > the four corners of the square is the four points of the polygon
used to > define the PathGradientBrush, I'm not sure where the center point
for the > brush would be (the center of the square maybe). I think the colors
for each > corner would be the color for that point (array value). > > Alternatively have you looked at the Managed DirectX 9 SDK? > > Hope this helps > Jay > > "Crirus" <Cr****@datagroup.ro> wrote in message > news:ec**************@tk2msftngp13.phx.gbl... > > The main ideea: > > I havea 513x513 array of values....I draw a sort of map using
that values > > for colors... so I have a realistic lanscape (map). > > I want to zoom about 60 times that map...and the zoomed area to
be drawn > on > > full screen. > > > > I want to draw it smoth not a square of 60 pixels x 60 pixels > > with one color, because I can see blocks and it's not good. > > There is a way to interpoate the colors between rectangles to show
a smoth > > zoom? > > > > Crirus > > > > > > > >
Colors have not a big inportance in this..you can pick up any 25 colors on
green and sand yellow theme.
Look at the pics attached in some prev messages under this topic
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... Crirus, Can you post the color data for say 25 tiles? (5 rows of 5 columns each).
As I understand that each tile is a single color, this would be 25 colors.
Then I can play with a couple of my ideas, and possible post a code
snippet. It would however be later today or this weekend before I got to it.
Unfortunately I do not use Photoshop itself.
Can I set a smaller interval to have the gradient executed? Only in that you can define the size of the brush & you can define the
size of the tile you are drawing into. If you want a smaller interval I would define the brush for a smaller part of the tile, and then only draw that smaller part of the tile...
Hope this helps Jay
"Crirus" <Cr****@datagroup.ro> wrote in message news:ey**************@TK2MSFTNGP10.phx.gbl... Well, Jay you got the ideea... I was thinking on something similar, but
I still hope there is a Framework class that can interpolate a custom area between 2 points not a gradient startig at one point and ending at the other. The ideea is to simulate the Photoshop gradient tool The smaller gradient tool is dragged, the sharper the interpolation that take place. And if I dragg the gradient tool from one edge to the other of the
canvas, the interpolation is like GradientBrush do it here
Can I set a smaller interval to have the gradient executed?
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message news:OQ****************@TK2MSFTNGP09.phx.gbl... Crirus, If I am following your question: within the 60 x 60 tile, consider
using a gradient function along the border of each cell, where you are using a border of say 10, my concern would be the corners...
I would consider making the corner itself between the tiles the center point (not sure which color I would use) instead of the center of a tile as
I was originally thinking. So I would wind up with a + sign in each corner with each leg about 20 wide...
Basically for two adjacent tiles, I would have three brushes, the
first tile which is 60 x 50, the middle 'tile/border' which is 60 x 20, then the second tile which is 60 x 50, . The middle 'tile/border' would be the
gradient between the two tiles... Of course because we are actually taking four adjacent tiles, there would be 9 brushes...
Note: I am just thinking out loud here, I have not actually done this
or tried this, hopefully you come up with an idea that works.
Hope this helps Jay
"Crirus" <Cr****@datagroup.ro> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl... > I attached what I acieved so farr.. with a question > How can I interpolate a small area on say, perspectiveZoom of each
tile with > the addiacent tile.. > I whould like to make a smooth transition, but I dont want to extend the > interpolation to the center of neighboor tile, only a few pixels on each > border > > > "Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message > news:u7**************@tk2msftngp13.phx.gbl... > > Crirus, > > Have you tried either a LinearGradientBrush or PathGradientBrush? > > > > Both can be found in the System.Drawing.Drawing2D namespace. > > > > A LinearGradientBrush transitions between two colors based on two parallel > > lines. > > > > A PathGradientBrush transitions between n colors based on m
points. > > > > Charles Petzold's book "Programming Microsoft Windows with
Microsoft > Visual > > Basic .NET" from MS Press has a chapter were he discusses at
length both > > brushes with examples. > > > > I don't have a clean example, I would consider a
PathGradientBrush, where > > the four corners of the square is the four points of the polygon used to > > define the PathGradientBrush, I'm not sure where the center point for the > > brush would be (the center of the square maybe). I think the
colors for > each > > corner would be the color for that point (array value). > > > > Alternatively have you looked at the Managed DirectX 9 SDK? > > > > Hope this helps > > Jay > > > > "Crirus" <Cr****@datagroup.ro> wrote in message > > news:ec**************@tk2msftngp13.phx.gbl... > > > The main ideea: > > > I havea 513x513 array of values....I draw a sort of map using that > values > > > for colors... so I have a realistic lanscape (map). > > > I want to zoom about 60 times that map...and the zoomed area to be > drawn > > on > > > full screen. > > > > > > I want to draw it smoth not a square of 60 pixels x 60 pixels > > > with one color, because I can see blocks and it's not good. > > > There is a way to interpoate the colors between rectangles to
show a > smoth > > > zoom? > > > > > > Crirus > > > > > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: CroDude |
last post by:
I've made a custom groupbox control. Inside, as one of it's members is
CSimpleGradient object. CSimpleGradient is a wrapper class for gradient
usage. Basically it looks like that:
public class...
|
by: Maximus |
last post by:
Hi all,
Has anyone been able to reterive the gradient selection colors used in
outlook 2003? Basically, I have a grid showing a list of records and my
client wants the selected row to have the...
|
by: David Gouge |
last post by:
Hi All, appreciate that this is more gdi+ than c# but always seem to get
good answers here, so here goes...
In a nutshell, all i want to do is add a gradient background to a
ListView. I have...
|
by: Jon Slaughter |
last post by:
I'm drawing a linear gradient and its very "banded". The colors are far
enough part that it should be plenty smooth enough but I always get the same
number of bands regardless.
I've tried to set...
|
by: Olw |
last post by:
Hello,
Does anyone have a nice link to some code for calculating the gradient
of a function in C?
Thanks,
Olw
|
by: moondaddy |
last post by:
How do I make a background gradient diagonal instead of just horizontal or
vertical?
This makes the standard horizontal gradient.
progid:dximagetransform.microsoft.gradient(gradienttype=1,...
|
by: madladuk |
last post by:
Hi all.
Does anyone have any example of how to do a gradient background whilst
moving over graphics and text like the Microsoft web site. On the MS site
when you select an area a window popup...
|
by: Eric Lindsay |
last post by:
How do you provide a consistent gradient fill as a background in a
liquid layout?
If I make a gradient fill image say 1000 pixels wide (and repeat it down
the page) to suit a typical computer...
|
by: moondaddy |
last post by:
I'm posting code for a user control ( FunctionConnectorSelector) below which
has 3 content controls in it. each content control uses a style from a
resource dictionary merged into the app.xaml...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |