Questions tagged as 'canvas'

2
answers

Give Foreach a label in Chartjs / Canvas - CodeIgniter

I have a problem here, which may be simple, I do not know I'm using a graphic frame, where I can put the labels I want so it can be displayed at each bar. Staying like this: Eachitem(January,February,March...correspondstoalabelinthefollowing...
asked by 28.10.2016 / 21:44
1
answer

How to draw 2 images on canvas with different fps

Let's imagine 2 images imagem A and imagem B , I want to draw imagem A at 60 fps, and imagem B at 30 fps. I wanted to know (using the requestAnimationFrame) what is the best way to do this, should I create another c...
asked by 21.06.2017 / 19:07
2
answers

Rotate Canvas in Delphi

I need to rotate an object inside a canvas in Delphi. Example rotate by 90 degrees. Text I get is easy, but I have to be able to do it for any type drawn object. As for an image drawn on the canvas or a geometric figure drawn by canva...
asked by 29.07.2016 / 01:05
1
answer

How do I get toDataURL to save in a sessionStorage?

I'm using a library I got here at this link: link I've already spent 2 days testing and looking for how to get the image cut with toDataURL to get the base64 and save it in a sessionStorage for me to use later. If someone can lend a hand...
asked by 16.10.2016 / 20:00
1
answer

Canvas is not showing image with drawImage ()

I have an index.html with the following code: <!DOCTYPE html> <html> <head> <title> HTML 5 - Airplane Game</title> <link rel="stylesheet" href="gamestyle.css"/> </head> <body> <ca...
asked by 26.07.2014 / 00:32
1
answer

How to make a responsive tapered table?

I'm trying to do similar to this image: Here a Fiddle as far as I could go The data will be dynamic, and I need the corners to be rounded. I accept other alternatives or suggestions for mounting this table.     
asked by 17.12.2018 / 15:59
2
answers

Waveform Graphic Canvas JS

How can I make a waveform chart using Canvas and JS . The example can help a little more:     
asked by 12.09.2017 / 18:09
1
answer

Save Canvas as Image - UWP

In UWP plication, I have the following canvas <Canvas Name="Banner" Width="500" Background="Black" Height="200" Margin="334,53,-711,-156"> <Image x:Name="img_Fita" HorizontalAlignment="Left" Height="30" Width="30" RenderTra...
asked by 22.08.2017 / 18:47
1
answer

How to add Id to canvas on Android?

I need to add a circle around the canvas every time I click a button (behavior identical to Windows Paint). But to move the circle clicked on the screen I need an ID. Anyone have any idea where I can add this ID? Thank you in advance.     
asked by 23.08.2017 / 16:41
1
answer

Div for canvas

Hello, I'm having a problem converting a div to canvas, because inside that div has an img, and src contains the COMPLETE url of the image, with http, when it's a normal image that is already on the server, I have no problems , it converts quietl...
asked by 18.08.2016 / 17:05