Adding The Variable Function.
This presentation is the property of its rightful owner.
Sponsored Links
1 / 7

Adding The Variable Function. PowerPoint PPT Presentation


  • 77 Views
  • Uploaded on
  • Presentation posted in: General

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.

Download Presentation

Adding The Variable Function.

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

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.


Adding the variable function

.

.

.

.

.

.

We can change the real coordinate, .

1. Changed The Computer Coordinate

Generic computer coordinate

Proportional expression of real coordinate and computer coordinate.


Adding the variable function

: 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.


Adding the variable function

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;

}


Adding the variable function

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);


Adding the variable function

The Result Include The Variable Function

Tick


Adding the variable function

Clicked Zoom In button

Extended selecting area


  • Login