raylib/examples/shapes
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ananth S 7bb2a342bf
[examples] Added shapes_multiline_text_diagram
Description
This example demonstrates how to create complex diagrams combining geometric shapes with formatted multiline text. It showcases text wrapping, alignment, and positioning within various shapes.

Key Features:

Multiline text rendering with automatic word wrapping

Text alignment (left, center, right) within shapes

Integration of text with geometric shapes (rectangles, circles, polygons)

Visual demonstration of text formatting and layout techniques

Responsive text sizing and positioning

Use Cases:

Creating annotated diagrams and flowcharts

Building educational materials with labeled shapes

Generating technical documentation with visual aids

Designing UI mockups with text elements
2025-10-10 10:26:50 +05:30
..
resources Add WASM support for Zig build (#2901) 2023-02-01 11:09:03 +01:00
raygui.h REVIEWED: Code sections description for consistency 2025-09-02 12:34:04 +02:00
reasings.h Update copyright to 2024 2024-01-02 20:58:12 +01:00
shapemultiline_test_diagram.json [examples] Added shapes_multiline_text_diagram 2025-10-10 10:26:50 +05:30
shapes_basic_shapes.c REXM: UPDATED: Examples source code header info, aligned with name 2025-09-07 12:01:51 +02:00
shapes_basic_shapes.png Reorganize examples folder 2017-04-04 01:54:49 +02:00
shapes_bouncing_ball.c Updated examples 2025-10-02 13:04:34 +02:00
shapes_bouncing_ball.png Batch of 9 new shapes examples! 2019-05-03 16:00:16 +02:00
shapes_bullet_hell.c REXM: Updated new examples requried files 2025-10-02 13:16:00 +02:00
shapes_bullet_hell.png ADDED: example: shapes_bullet_hell (#5218) 2025-09-30 11:59:44 +02:00
shapes_circle_sector_drawing.c REXM: Updated examples after some renames 2025-09-08 21:01:59 +02:00
shapes_circle_sector_drawing.png REXM: RENAME: example: shapes_draw_circle_sector --> shapes_circle_sector_drawing 2025-09-08 20:28:17 +02:00
shapes_collision_area.c removed unneeded include (#5225) 2025-10-01 18:33:51 +02:00
shapes_collision_area.png Fix examples/shapes/shapes_collision_area.c help instructions (#3279) 2023-08-30 22:43:19 +02:00
shapes_colors_palette.c Updated examples short description 2025-08-26 00:32:24 +02:00
shapes_colors_palette.png examples review 2019-05-14 15:34:23 +02:00
shapes_dashed_line.c REVIEWED: DrawLineDashed() 2025-10-02 13:38:13 +02:00
shapes_dashed_line.png feat:Added DrawLineDashed() and a new example explaining how to use this new function. (#5222) 2025-10-01 11:43:38 +02:00
shapes_digital_clock.c Update complexity level for shapes_digital_clock 2025-09-09 17:33:19 +02:00
shapes_digital_clock.png REDESIGNED: example: shapes_digital_clock 2025-09-09 17:32:13 +02:00
shapes_double_pendulum.c Revert "Added creation-review years to examples" 2025-09-05 23:02:06 +02:00
shapes_double_pendulum.png [examples]: New shapes example - double pendulum 2025-07-21 14:59:51 -07:00
shapes_easings_ball.c REXM: Updated examples after some renames 2025-09-08 21:01:59 +02:00
shapes_easings_ball.png REXM: RENAME: example: shapes_easings_ball_anim --> shapes_easings_ball 2025-09-08 20:36:29 +02:00
shapes_easings_box.c REXM: Updated examples after some renames 2025-09-08 21:01:59 +02:00
shapes_easings_box.png REXM: RENAME: example: shapes_easings_box_anim --> shapes_easings_box 2025-09-08 20:36:41 +02:00
shapes_easings_rectangles.c REXM: Updated examples after some renames 2025-09-08 21:01:59 +02:00
shapes_easings_rectangles.png REXM: RENAME: example: shapes_easings_rectangle_array --> shapes_easings_rectangles 2025-09-08 20:36:48 +02:00
shapes_following_eyes.c [examples] Update examples to be consistent (#4699) 2025-01-18 19:41:56 +01:00
shapes_following_eyes.png Batch of 9 new shapes examples! 2019-05-03 16:00:16 +02:00
shapes_kaleidoscope.c [examples] Added shapes_kaleidoscope (#5233) 2025-10-08 00:10:43 +02:00
shapes_kaleidoscope.png [examples] Added shapes_kaleidoscope (#5233) 2025-10-08 00:10:43 +02:00
shapes_lines_bezier.c REXM: UPDATED: Examples source code header info, aligned with name 2025-09-07 12:01:51 +02:00
shapes_lines_bezier.png Updated examples 2023-11-09 09:53:25 +01:00
shapes_logo_raylib.c REXM: UPDATED: Examples source code header info, aligned with name 2025-09-07 12:01:51 +02:00
shapes_logo_raylib.png Reorganize examples folder 2017-04-04 01:54:49 +02:00
shapes_logo_raylib_anim.c REXM: UPDATED: Examples source code header info, aligned with name 2025-09-07 12:01:51 +02:00
shapes_logo_raylib_anim.png Reorganize examples folder 2017-04-04 01:54:49 +02:00
shapes_Multiline_test_diagram.c [examples] Added shapes_multiline_text_diagram 2025-10-10 10:26:50 +05:30
shapes_rectangle_advanced.c REXM: UPDATED: Examples source code header info, aligned with name 2025-09-07 12:01:51 +02:00
shapes_rectangle_advanced.png [shapes] Add shapes_rectangle_advanced example implementing a DrawRectangleRoundedGradientH function (#4435) 2024-10-29 22:23:51 +01:00
shapes_rectangle_scaling.c REXM: UPDATED: Examples source code header info, aligned with name 2025-09-07 12:01:51 +02:00
shapes_rectangle_scaling.png examples review 2019-05-14 15:34:23 +02:00
shapes_recursive_tree.c [examples] Added shapes_recursive_tree (#5229) 2025-10-06 22:35:18 +02:00
shapes_recursive_tree.png [examples] Added shapes_recursive_tree (#5229) 2025-10-06 22:35:18 +02:00
shapes_ring_drawing.c REXM: UPDATED: Examples source code header info, aligned with name 2025-09-07 12:01:51 +02:00
shapes_ring_drawing.png REXM: RENAME: example: shapes_draw_ring --> shapes_ring_drawing 2025-09-07 11:19:29 +02:00
shapes_rounded_rectangle_drawing.c REXM: Updated examples after some renames 2025-09-08 21:01:59 +02:00
shapes_rounded_rectangle_drawing.png REXM: RENAME: example: shapes_draw_rectangle_rounded --> shapes_rounded_rectangle_drawing 2025-09-08 20:27:00 +02:00
shapes_splines_drawing.c REVIEWED: Examples section comments, for better organization and consistency 2025-09-03 10:40:31 +02:00
shapes_splines_drawing.png Update example: shapes_splines_drawing 2023-11-09 02:01:00 +01:00
shapes_top_down_lights.c REVIEWED: Examples section comments, for better organization and consistency 2025-09-03 10:40:31 +02:00
shapes_top_down_lights.png REVIEWED: example: shapes_top_down_lights 2022-01-16 18:07:11 +01:00
shapes_triangle_strip.c [examples] Added shapes_triangle_strip (#5240) 2025-10-07 20:25:22 +02:00
shapes_triangle_strip.png [examples] Added shapes_triangle_strip (#5240) 2025-10-07 20:25:22 +02:00
shapes_vector_angle.c Updated examples 2025-10-02 13:04:34 +02:00
shapes_vector_angle.png Updated examples 2025-10-02 13:04:34 +02:00