cascardo/movie.git
15 years agoStop for some seconds on every face
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 19:20:21 +0000 (16:20 -0300)]
Stop for some seconds on every face

Stops for five seconds on every face. It also changes the number of
frames per second to 4. It seems the CPU can't do all the work for
30FPS, and that's why the keyboard never seemed to work. The queue got
filled up with "drawing" events very fast.

15 years agoInitializes the video with the chosen resolution
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 18:29:42 +0000 (15:29 -0300)]
Initializes the video with the chosen resolution

15 years agoPrints some subtitles
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 18:22:20 +0000 (15:22 -0300)]
Prints some subtitles

15 years agoUse cairo to scale picture cairo
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 11:09:44 +0000 (08:09 -0300)]
Use cairo to scale picture

Cairo is now used to scale the picture. For now, it simply scales for
twice the real size. This will be used later for a feature of zooming in
and out of the picture.

15 years agoImplement a new function to get a new image based on the original
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 09:02:37 +0000 (06:02 -0300)]
Implement a new function to get a new image based on the original

This function will make it easier to simply overload it with a function
that scales the slices.

15 years agoReturn the center of the image instead of the top-left corner
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 08:10:15 +0000 (05:10 -0300)]
Return the center of the image instead of the top-left corner

15 years agoDo not use fullscreen in the development version.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:53:22 +0000 (04:53 -0300)]
Do not use fullscreen in the development version.

15 years agoRead the points from a file.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:48:34 +0000 (04:48 -0300)]
Read the points from a file.

15 years agoUse Bresenham to draw the line between faces
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:01:18 +0000 (04:01 -0300)]
Use Bresenham to draw the line between faces

This solves the problem of the slope and direction when drawing lines.

15 years agoMoves through a list of points
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 05:28:03 +0000 (02:28 -0300)]
Moves through a list of points

Given a list of points, it will loop over them and show each point
centered on the screen, moving in a straight line between them. However,
it only works with lines with a slope of one.

15 years agoShows a moving image
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 04:59:06 +0000 (01:59 -0300)]
Shows a moving image

It shows 30 frames per second of a piece of a image moving from its
top-left corner to its bottom-right corner.

15 years agoShows an image
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 03:36:06 +0000 (00:36 -0300)]
Shows an image

This simply shows an image from my home, without resizing it, until the
user presses a key.