Questions tagged [graphic]

464 questions
4
votes
3 answers

Arched Relationship Infographic In Python

This is a very specific inforgraphic challange altough the fundemental question is how do you build archs between words using matplotlib, cario or an other python libary. Given a the following data structure. me, you, 7 | me, apple, 9 | apple, you,…
Matt Alcock
  • 12,399
  • 14
  • 45
  • 61
4
votes
1 answer

Is there an alternative to a scenegraph?

Scene graphs give you the possibility to reason about their position -> if one node doesn't need to be rendered, the children of that node also don't need to be rendered. But it seems that it might not be the best approach if the objects in the…
Maik Klein
  • 15,548
  • 27
  • 101
  • 197
4
votes
1 answer

How To Use SetConsoleCursorPosition Func

I just wrote the code for tower of hanoi in c and I wanted to show the solution in graphical mode using characters. I want to use windows.h and SetConsoleCursorPosition function to move cursor in console. Could you help me by telling me have does…
A7A
  • 139
  • 1
  • 4
  • 11
3
votes
2 answers

Does any Framework Support User to draw "candle graph" on the iPhone?

iPhone sdk :Does any Framework Support User to draw "candle graph" in iphone sdk? I have tried following framework: MIMChart-Library CorePlot But it seems not example to show that how to draw Candle Graph...... Or user need to customize by…
nullmicgo
  • 407
  • 4
  • 19
3
votes
1 answer

C# PrintWindow returns a black image

I am on windows XP and I am trying to captrue a window. But when I capture a window, I get the window title (Name & Icon) but the entire content of the window is black. When trying to save the image, the whole image is transparent. This is my code :…
user779444
  • 1,365
  • 4
  • 21
  • 38
3
votes
2 answers

Scaling up image with pixels in HTML/CSS?

In my DIV I want to show a specific part of an image (that part is 8x8 pixels) (on the orginal image to view tose 8x8pixels you would have to do background-position: -8px -8px;), but enlarged with the "pixels saved". So you get…
Jeremy Karlsson
  • 1,059
  • 3
  • 17
  • 27
3
votes
2 answers

What is wrong with my attempt to save my image?

I am trying to learn Python. I am using the following program, which creates the image OK, but I want to save it. I tried some instructions I found on this site, but am getting the error message at the bottom. Any help would be…
paladin7429
  • 39
  • 2
  • 3
3
votes
2 answers

Rescaling colors palette in r

In R i have a cloud of data around zero ,and some data around 1, i want to "rescale" my heat colors to distinguish lower numbers.This has to be done in a rainbow way, i don't want "discrete colors".I tried with breaks in image.plot but it doesn't…
lgndrzzz
  • 288
  • 2
  • 15
3
votes
1 answer

Why is the speed of drawing graphics slower in C# than VB6

Hi I Wonder why usual graphic speed is so much slower than VB6 in C# code , here is a sample code which does the same thing in VB6 and C# , it takes 1.7 Secs in VB6 on my computer and 4.2 Secs in C# Could someone please tell me why and also if there…
DrSobhani
  • 129
  • 7
3
votes
1 answer

How do I calculate the width and height of a bitmap from this file header?

00000000 42 4D 3A FE 05 00 00 00-00 00 36 04 00 00 28 00 00000010 00 00 D1 02 00 00 1D 02-00 00 01 00 08 00 00 00 00000020 00 00 04 FA 05 00 13 0B-00 00 13 0B 00 00 00 00 What are the values of width and height?
Alejandro Diego
  • 101
  • 1
  • 7
3
votes
1 answer

Importing *.pdf_tex file error

I have made a graphic with inkscape. Now I'm trying to build it in Latex. I' m working with TEXMaker. Therefore I have exported my graphic as *.pdf_tex and *.pdf. In macros i have added the…
Jürgen K.
  • 3,427
  • 9
  • 30
  • 66
3
votes
1 answer

C++ Sine function inside a Matrix

How can I represent the graphic of the sine function inside a c++ matrix with 0 and 1? char sinM[DN][DM]; memset(sinM,32, sizeof(sinM)); for(int i=1;i
Alessandro
  • 175
  • 1
  • 12
3
votes
2 answers

How do I get the value (float) for RG & B of a UIColor object?

I have created a UIColor object and want to set the colors before drawing using CGContextSetRGBStrokeColor. In order to do that I need to extract the values of red, green and blue from the UIColor object. How do I do that? Or is there perhaps a…
Nicsoft
  • 3,644
  • 9
  • 41
  • 70
3
votes
0 answers

Unity 5 crashes under Mac OSX Yosemite

Did someone have this problem for Mac OSX Yosemite. Project size is over 250Mb after build. Computer params: MacBook 13 i7 CPU, 16Gb RAM, 1,5GB GPU EDIT: The full crash log from Mac OSX Screenshot of some crash log: The full crash log from Mac OSX
X-HuMan
  • 1,488
  • 1
  • 17
  • 37
3
votes
3 answers

Android ListView scrolling with selected item

I have the problem mentioned in this SO post: Selected list item color moves on scrolling the listView in Android, but I don't understand how to fix this. This is what it looks like: The highlight of an item moves over another item that isn't…
lite
  • 31
  • 5
1 2
3
30 31