Skip to content

Duiccni/LGL-C-Graphics-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LGL-C-Graphics-Library

image

image

Basic c++ Graphic library

  • Can create surface
  • Rendering Courier New Font (uses a diffrent method. creates font.bin file using font1.png file with pngtobinary.py code (it is a simple code a intermediate level programmer can understand in seconds.))
  • HSV to RGB (Very high performanced.)
  • Blit Surface
  • Cut From surface
  • Resize Surface
  • Draw Line (Checking is line in screen)
  • Draw straight line (more performance)
  • Draw (Circle, rect, fillen rect)
  • Point.h header file with lots of operators
  • fill_rect() function with alpha (0-255)
  • fill (clear) surface or color >> surface (>> operator)
  • Dashed Line
  • Thickness line
  • gray scale
  • revert colors
  • font antialiasing

Details about code

  • We writed code acording to ReSharper Syntax rules.
  • Its more like C code then C++ code but we used operator overrides and refrences.

I am not a writer if someone interested in help to write README.md file contact me i am active at instagram (@tottsuka).

Note: i still didnt biased 'y' dim characters so '-' is looks like '_'

image

y_bias notes

  • char 'y': -4
  • char '~': +5