|
I do remember a site that analyzes how Vista Aero stuff is drawn on a pixed/shade/line level. Can#t find it anymore, though.
at least I found this[^]
Also, the Windows User Interface guidelines have at least some material about it.
The linked site seems to have way more of it[^]
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist
|
|
|
|
|
Try meby this : www.pixel2life.com
What I normally do when i need to make my app "pimp" - is to screenshot few fancy sites or apps and crate a unique look and feel in paint... then reduce the size of the bitmaps in Gimp 
|
|
|
|
|
Hi
I am working on project related to optimal travelling solution.
i have to draw map of world on computer screen using latitude and longitude.
Can someone help me regarding this problem?????
Thanx
|
|
|
|
|
aadilali wrote: I am working on project related to optimal travelling solution.
http://en.wikipedia.org/wiki/Great-circle_distance[^]
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."
|
|
|
|
|
what do you mean by this?????
|
|
|
|
|
the shortest distance between two points on a map representing the globe (latitude and longitude) is through great circle distances. If you are plotting any kind of traveling solution, the optimal path is via the great-circle calculation.
|
|
|
|
|
Hi!
I am a new in DirectX ver. 9.0.
How can I draw a 3d circle? Please help me
|
|
|
|
|
First, learn to draw a 2D point...
(a circle is a 2-dimensional shape, by definition it exists on a single plane. Are you asking for a sphere?)
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Exactly I want to draw a wheel whose inner portion has nothing.
|
|
|
|
|
|
If you want to rotate or tilt the wheel (or alter the view perspective) you probably want to create a mesh and texture it. This is tedious stuff to code, and many programmers use an Auto-CAD program to create the mesh file. A wheel wouldn't be that difficult to code, but programatically applying the texture so that it looks professional is not a trivial task.
If, however, the wheel isn't going to move (tilt or rotate), creating a static image and just displaying it as a texture would be alot easier.
To give you an idea of how to create a mesh, see this Tutorial on Creating a Mesh (Managed DirectX)[^]
|
|
|
|
|
|
This article[^] demonstrates how to iterate through EMF records. You'd do well to start there.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
|
jasrdjan wrote: I failed to mantion that I am working in C#.
So?
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
real C# programmers loose their ability to read other languages in no time.
|
|
|
|
|
Heh, their propensity to down-vote helpful replies goes into overdrive though.
If it wasn't graphics, GDI and GDI+, i wouldn't have bothered... but that stuff is so similar between C++ and C# it's hardly worth worrying about.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Shog9 wrote: their propensity to down-vote helpful replies goes into overdrive
I blame the current voting scheme, where some message categories only accept "helpful" and "not helpful",
as opposed to 1,2,3,4,5; this not only flushes the possibility for nuance, but causes a lot of
"not helpful" clicks since a lot of replies are either not understood or, well, not all that helpful.
Strictly speaking, if there are N good replies, all equivalent, then the first one is helpful, and all
the others are not helpful, although similar if not identical to the helpful one
And that is why I carry my current sig.
|
|
|
|
|
It's like giving someone a thumbs-up / flipping the bird... a quick and easy way to indicate your approval / disapproval. And every bit as trite.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I am developing a card game.
To show the card selected, i am drawing one rectangle to highlight the card.Following is the code i am using to draw rectangle on different card positions:
Pen Blue = new Pen(Color.Blue, 2);
e.Graphics.DrawRectangle(Blue, 199, 300, 73, 97);
While selecting the card, it is getting drawn but at the same time if "deselected" then it(rectangle) should be erased.
I tried in many ways to erase the drawn rectangle but while erasing cards which are drawn are also get erased.
Please assist me.
|
|
|
|
|
I would think the simplest method would be to redraw the display without the blue highlighting rectangle. This would be the same code method that got you this point (before you selected the card). If that doesn't seem feasible, you could draw the highlighting rectangle in whatever color the background is (assuming the background isn't an image).
You don't tell us what mechanism you are using to maintain the state of your game's display (so, I'm assuming that there isn't one). But, if you expect the game to get more complex, you might consider such a concept.
|
|
|
|
|
Hi all,
I'm at the beginning of a new software project aimed at designing image mosaics and asking myself if some of you has good recipes or ideas to share:
1. if or if not to use image libraries, and why;
2. which libraries, if any, are best;
3. which target platform: win32 or 64;
4. whether or not use WPF Imaging;
5. ....
Any suggestion will be very much appreciated.
Thanks,
gsa
|
|
|
|
|
gsaielli wrote: if or if not to use image libraries, and why;
no if you don't have them and don't want them, yes if you want an excuse to get one or already have one.
gsaielli wrote: which libraries, if any, are best;
Depends on your actual usage, especially the last questions.
gsaielli wrote: which target platform: win32 or 64;
which do you have, or which do you want an excuse to use?
gsaielli wrote: whether or not use WPF Imaging;
do you know WPF imaging or do you want an excuse to learn it?
obviously the answer is many things. Almost all of the questions could be any answer. How far have you started? have you looked at all? what languages? what requirements?
You could easily have asked, "I would like to store data, what is the best database? what should I use to access it?" In many questions like this there are many, many answers, and people are often stumped to know exactly where to start in answering you.
So what are your other requirements? deadline? speed? resolution limits/requirements? Do you need to index your own photos or a photo library by tonal sorting? have you already done this? what is your language of preference? what have you started with? what is your goal?
A design does not end by saying, "I want to write a program" jot down a list of what it needs to do, these are your requirements. Make sure to included limits, hopes, etc. You want to fence it in as much as possible. If it has to be done in an hour, you don't want a language or library that takes too long, and you probably want to pre-index your photos. If you have a tonal based photo library you are already a step ahead, if you don't you will have to qualify the thumbnails based on overall tonal quality of each image. etc.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."
|
|
|
|
|
AoA
I am doing a GDI+ project. In which i created a user control with transparent background. That is fine. But when i add this control two times in a from, it works strange. When a Control overlays other, the background of the control came as the background of the main form not the user control.
Please help me to solve this problem. The link of the file is given below.
Click to Download[^]
Waiting for any kind of help.
Regards,
Nazar Hussain
|
|
|
|
|
Do you have the WS_CLIPSIBLINGS style set for your control window? It might be clipping its sibling and that's why you see the main window as the background. Something to look at anyhow.
BTW, it's very unlikely anyone is going to click on a link to an executable.
If you don't have the data, you're just another a**hole with an opinion.
|
|
|
|