Waitrud Weber’s blog

things and reminders for memories

C++

windows-make: 3d: Trace a literature as 180.

We are going to: 1. Trace a literature as 180 on the pixmap. 2. Care about the vPoint as class in C++ and all of codes depend it or C language. struct struct_trace { vPoint candaudae_points; vPoint angle_points; vPoint thick_points; struct…

windows-make: 3d: Linear 0.5 as small should be ...

We are going to draw number as fonts, depending on the reason below. Reanson:Linear for that fexible scale should be calculated. And, that work is very fast if that is small on the display.* - - - - - Normal: - - - margin x 1: - - - Small …

windows-make: cg: pixmap fonts are displayed well or not.

I focused on "320" but the result is "DCA" and broken like slush. And, rect value is right calculated. ...i 498 j 234 <- x 50, y 936 v -50070271i 499 j 234 <- x 51, y 936 v 0i 500 j 234 <- x 52, y 936 v -50070271i 501 j 234 <- x 53, y 936 …

windows-make: WinAPI:Focus on the draw area.

We could balance the program but that is surely ensured as well programmer.Now, easy things are, we can say, hard.* - - - - - - - - - - - - - - - - - Red Bar: - - - Focus on the view: - - - Draw Grid: - - - *focus and grid and little focus…

windows-make: WinAPI: The program could display objects.

The program displayed something but didn't any other on the window. We should code them well as maximum to full any software property anyway. * - source code - - - .\winmainthread_005a_006.cpp File modified time Mon Mar 25 13:34:49 2024 09…

windows-make: WindowsAPI: Displayed error occured.

Displayed error occured. *That reason is, 1. Sub lootin messages like "... starts." or "... ends." are printed[1].2. Screen captured of windows program display the draw sub lootins. *Any lootin means sub lootin itself on windows programmin…

windows-make: WindowsAPI: Draw something impressive and error one.

Debug messages are,...int call_draw_fucus_canvas_buffer_only () starts.mode 4 model_changed 119 p_jackson|004CBA80|int draw_grid () starts.int draw_grid () ends.int call_draw_fucus_canvas_buffer_only () ends.int call_draw_fucus_canvas_buff…

windows-make: csv: CSV frame ... 005

Logging is set each patch, which is actually seperated file *.c and is going to be compiled. * - - - - - i 14 void Initialize_firstset_004 () ends.i 15 int file_all_size ( char* filename, int *file_end ) starts.i 16 msg 001-filename-202306…

windows-make: csv: CSV frame ... 004

Memory allocation is like the Matrix like Lotus and Excel.Function realloc and malloc work well, which is a beautiful work in C language. * - - - - - read_csv_004.cpp File modified time Sun Aug 06 22:32:51 2023 0001 #include <tchar.h>0002 #include <windows.h></windows.h></tchar.h>…

windows-make: csv: CSV frame ... 003

Patch of object is read_csv_003.o in C, which is going to be attached and its compilation is once. - - - - .\read_csv_003.cpp File modified time Sun Aug 06 18:09:44 2023 0001 #include <tchar.h>0002 #include <windows.h>0003 #include <windowsx.h>0004 0005 #include <ctime>0006 000</ctime></windowsx.h></windows.h></tchar.h>…

windows-make: csv: CSV frame ... 002

Setting a file name and which seek is well for the analyzation.And, csv analyzation is commented out of function "put the word". * - - - - read_csv_002.h File modified time Mon Aug 07 16:48:43 2023 0001 #ifndef _SETTLE_GRID_002_H_0002 #def…

windows-make: csv: CSV frame ... 001

windows-make: csv: CSV frame ... 001 In first step in csv, we created the frame. 001: - - - - read_csv_001.cpp File modified time Sat Aug 05 17:38:37 2023 0001 #include <tchar.h>0002 #include <windows.h>0003 #include <windowsx.h>0004 0005 #include <ctime>0006 0007 #include <stdio.h>0008</stdio.h></ctime></windowsx.h></windows.h></tchar.h>…

windows-make: C++: mingw: Creation undefined numbered buffer-array.

*For a creation of buffer as array, undefined number is failed. The below is as 6 example.* .\settle_grid_001.h File modified time Thu Aug 03 16:16:55 2023 ... 019 char** a_litteratures = NULL; 020 char* litteratures[6] = { "\"", "\,", "\{…

windows-make: Settle all drawing functions...

**Their values should be displayed and changed with keyboard operation. *parameters and functions value - - bErase true or not RefreshRect rect back ground mairgin rect a small band rect ... fonts ... SetPixel poisson SetPixel wave ****** …

windows-make: Using a picture buffer.

********* * region - - background a small band for the wave graph a small rect only (spacified part)) objects rectangle as cursol a small rect only (spacified part) *** region - - background poisson disk sampling whole window (the entire r…

windows-make: a small band and cursol

* - objects invalidate area keyup animation - 1 2 3 rect15, rect 17 rect 17(on a little band) (v) (v) 4 rect15, rect 17 rect 17(on a little band)- (-) (v) - * All cases with cursol invalidated area will be a on a band area. *invalidate cur…

windows-make: Once, invalidate even a small cursol...

We paint the objects with begin paint and end paint. Once, invalidate even a small cursol, all objects will be disapeared. We can draw the wave cursol as like, * - paint (drawing) keyup ani-thread keyup thread - 1 rect 15 (v) (-) no no ani…

sound: windows-make: audio end-points.

They call the list of something kind of devices "Endpoints". * - - - - - - - - - HRESULT EnumAudioEndpoints( [in] EDataFlow dataFlow, [in] DWORD dwStateMask, [out] IMMDeviceCollection **ppDevices); - - - - - - - hr = pDevEnum->EnumAudioEnd…

3d: windows-make:

* - check_invalidate main check_validate main wTextareaController local wTextarea local - - animation_times_001 - - - - - - wm_paint 0 0 0 0 - - wm_mousemove 0 0 1 - - - setp1: Set params 1 0 0 0 - - step2: BeginPaint - 0 0 0 - - - - - - -…

3d: windows-make: param_synse_003.cpp

* - - - - - - - - - .\param_synse_003.cpp File changed time Wed Mar 08 15:02:47 2023 1 :#include <tchar.h> 2 :#include <windows.h> 3 :#include <windowsx.h> 4 :#include <stdio.h> 5 :#include <stdlib.h> 6 : 7 :// 8 : 9 : 10 :#include "wTextarea.h" 11 :#include "wTextareaController.h" 12 : 13</stdlib.h></stdio.h></windowsx.h></windows.h></tchar.h>…

3d: windows-make: File list and info: Error happened even this time.

Error: - - - - - https://github.com/WaitrudWeber/source_zip/blob/master/axex-20230305-001-01.zip - - - https://github.com/WaitrudWeber/source_zip/blob/master/axex-20230305-001-02.zip - - - https://github.com/WaitrudWeber/source_zip/blob/ma…

WindowsAPI: windows-make: file_info

fiIt printed the number which might be wrong and it doesn't matter if that is Initialization. To take time of files, I used the collection of MinGW after I failed to creationtime as windowsapi, which is actually a matter. * - - - - - - > .…

windows-make: 3d: well and for the operation and we create interface for it.

We settled any boxex which is tidy and well. *Boxex - - - - button1.setButton( 10 , 10 , 100 , 80 ); button2.setButton( 110 , 10 , 100 , 80 ); button3.setButton( 210 , 10 , 100 , 80 ); button4.setButton( 310 , 10 , 100 , 80 ); button5.setB…

windows-make: 3d: We are supposed to prepare wButtonController and settle that information.

*Diagnal - - - - - // Diagnal button1.setButton( 10 , 10 , 100 , 100 ); button2.setButton( 110 , 110 , 100 , 100 ); button3.setButton( 210 , 210 , 100 , 100 ); button4.setButton( 310 , 310 , 100 , 100 ); button5.setButton( 410 , 410 , 100 …

3d: windows-make: Memorization error:

We prepared that pixel buffer is and it has a lootin which doesn't work. error: https://github.com/WaitrudWeber/source_zip/blob/master/axex-20230121-001.zip * - - - - 1 int wCanvasController::put_pixel_buffer( int i, int j, unsigned char r…

3d: windows-make: Memorization:

comment:there is a right, so, the below is right. --- execution 001 ---> .\winmain_001.exemain starts.int v3dCalculation::calculation_thread_037() starts.int vDisplayController_002::DisplayAxex () starts.memorizevPoint starts: 1.000000 1.0…

3d: windows-make: for the debug ...

- - - - int vDisplayController_002::DisplayBones_002 (); int vDisplayController_002::DisplayPillar () ; *

3d: windows-make: Creation of some models for the debug.

The lines are created, which might be axex and in 2D. --- executin 001 ---right= p|0044C964|( 0.408248, 0.408248, 0.816497)001 x, y = 568.500427 , 235.911209get_cooordinate_on_screen ends. 001get_cooordinate_on_screen ends. 002 OtherSide=0…

3d: windows-make:

Press 'f' -> 'g'-> 'h' Error: https://github.com/WaitrudWeber/source_zip/blob/master/axex-20221026-001.zip allocation address is not changed, so, we can say that the result is a waste. string 01[0]=|039D3AD0|-80|string 01[1]=|039D3AD1|23|s…

3d: windows-make: malloc as a param is still O.K.

That result is more interesting.We can use a pointer allocation as a param from the sublootin as a returnable value. --- execution 001 ---string[0]=|022B3C38|0|string[1]=|022B3C39|0|string[2]=|022B3C3A|0|string[3]=|022B3C3B|0|string[4]=|02…