Adding The Variable Function.
Download
1 / 7

Adding The Variable Function. - PowerPoint PPT Presentation


  • 111 Views
  • Uploaded on

Adding The Variable Function. Sung-Ju Kang Department of Physics Kangwon National University. We will add the function of Zoom In, the function handle in the source code. In drawingarea, we will realize the Tick. and we will obtain the better package.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Adding The Variable Function.' - kuniko


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

Adding The Variable Function.

Sung-Ju Kang

Department of Physics

Kangwon National University

We will add the function of Zoom In, the function handle in the source code.

In drawingarea, we will realize the Tick. and we will obtain the better package.


.

.

.

.

.

.

We can change the real coordinate, .

1. Changed The Computer Coordinate

Generic computer coordinate

Proportional expression of real coordinate and computer coordinate.


: major tick

: miner tick

2. Realization of Tick

Variable

dtx : distance between major ticks on X axis.

dty : distance between major ticks on Y axis.

num : number of miner tick between major ticks.


3. Redrawing on The Screen

When the window reappear the screen, drawn the bifurcation diagram is gone.

Then we use this signal, redrawing the bifurcation diagram on the screen.

expose_event

gboolean

on_drawingarea1_expose_event (GtkWidget *widget,

GdkEventExpose *event,

gpointer user_data)

{

return FALSE;

}


4. Button Widget Sight

Widget can handle sight or don’t sight.

We can mark ‘Yes’ or ‘No’ the Visible, element of property in GLADE.

In GLADE

Changed source code

Eliminated under the command line

gtk_widget_show (butten1);



Clicked Zoom In button

Extended selecting area


ad