Ray
ac31f51c5e
Corrected issue with font tint
6 anos atrás
Jorge A. Gomes
dab78d59f3
Update textures.c
See raylib/examples/textures/textures_image_9patch.c for how to use `DrawTextureNPatch` function.
6 anos atrás
Ray
b042fe12e6
Reviewed spacings on latest PR
6 anos atrás
Kim Kulling
b2cac82fa0
Fix compiler warings in texture.c and more.
6 anos atrás
Jorge A. Gomes
28424141f0
Update textures.c
Added support form vertical and horizontal 3-patches.
Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
6 anos atrás
Jorge A. Gomes
7cc2a5585b
Update textures.c
Added DrawNinePatch() function implementation.
6 anos atrás
Ahmad Fatoum
548dbeb1ca
Fix typo (s/proedural/procedural)
7 anos atrás
raysan5
103bc7dfc6
Corrected issue with GetFontDefault()
Note for me: Replace All is NOT your friend...
7 anos atrás
raysan5
d881c73257
Renamed GetDefaultFont() to GetFontDefault()
Library consistency rename... yes, I know, it breaks the API...
7 anos atrás
Ray
74fd0e7ca4
Added function: ImageColorReplace()
7 anos atrás
Ray
276974de05
Removed function prototype
This function was added in text module as GenImageFontAtlas()
7 anos atrás
Ray
75ba5aca55
Improved font generation and SDF
Added: data to CharInfo struct
Added: LoadFontData()
Added: GenImageFontAtlas()
Removed: LoadFontEx()
Removed: LoadTTF() [internal]
Some code tweaks
7 anos atrás
Ray
372e4a1139
Reviewed some functions
- GetImageData()
- GetImageDataNormalized()
7 anos atrás
Ray San
64804f30e6
Comment review
7 anos atrás
Ray San
59fd261491
Added function: GetImageDataNormalized()
Reviewed: GetImageData()
Reviewed: ImageFormat()
7 anos atrás
Ray San
7d0e09ff4c
Corrected bug
7 anos atrás
raysan5
b48d225a43
Propose new function: GenImageFont()
7 anos atrás
Ray
817ae07505
Some comments cleaning
ImageDraw() code tweak
7 anos atrás
Ray
0e6458cfee
Added ImageRotate*() functions
7 anos atrás
Ray
b1b4a11bdb
Corrected issue with function definition
7 anos atrás
Ray
afc4181752
Work on ImageResizeCanvas()
7 anos atrás
Ray
2536bea379
Added: ImageResizeCanvas() -WIP-
Added note idea on ImageFormat() for future redesign (to support
16bit-32bit pixel-formats)
7 anos atrás
Ray
129c890a28
Removed assert()
Not used in raylib this mechanism
7 anos atrás
Ray
8f4b53384c
Replaced tabs by spaces
7 anos atrás
Ray
dbff40944a
Corrected issue with floats on TCC
It seems TCC was not casting correctly int values to float in some
specific situations
7 anos atrás
Ray San
8f4fa5006b
Added a note
7 anos atrás
Ahmad Fatoum
e025e62445
cmake: Fix PLATFORM_WEB build
Did this ever work? Surely, doesn't look like it...
7 anos atrás
Ray
2aae62cea2
Header tweak and comments
7 anos atrás
Ray
bb43755a9d
Corrected issue on LoadASTC()
7 anos atrás
Ray
9ea2a69bfd
Corrected issue on rectangle drawing
7 anos atrás
Ray San
ec33e7d705
BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
7 anos atrás
Ray San
6324697ffd
Rectangle parameters changed to float
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
7 anos atrás
raysan5
c51203ae7e
Corrected alpha blending on ImageDraw()
7 anos atrás
Ahmad Fatoum
1841afad11
Refactor all #define SUPPORT_* into a config.h
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461 ).
7 anos atrás
Ray
b8bd1d2ea6
Remove unnecesary NPOT check
Now PLATFORM checks only used on core and utils modules
7 anos atrás
Ray
005f2ffb75
Simplified some code
7 anos atrás
Ray
931b672c92
Added: ImageDrawRectangle()
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
7 anos atrás
Ray
533780aadf
Review ImageDraw() alpha blending
Not sure if math is ok... just left a commented piece of code that uses pre-multiplied alpha.
7 anos atrás
Martinfx
28a9a181cb
Fix use after free
7 anos atrás
raysan5
0958904eac
Added comments to review function ImageTextEx()
7 anos atrás
raysan5
4492a70a4b
Support UTF8 basic characters on ImageTextEx()
Supported UTF8 range equivalent to [128..255] (80h..FFh)
Exposed and renamed text function GetGlyphIndex()
Renamed spriteFont parameter name to simply font
Small security check on transmission mission ending screen
7 anos atrás
Ray
1ce8c80de9
Corrected several issues...
7 anos atrás
Ray
2dcaddc81c
Review mipmaps generation issue
When changing image format, mipmaps are lost and regenerated from
scratch
7 anos atrás
Ray
04af83ff99
Improved pixel formats support
Review rlLoadTexture() function to make it simpler, now OpenGL texture
glInternalFormat, glFormat and glType are retrieved with new function
GetGlFormats()
7 anos atrás
Ahmad Fatoum
a2edc9d641
MSVC: Fix void pointer arithmetic error
GNU C allows it as a compiler extension, but MSVC doesn't.
7 anos atrás
Ray
ce9f191f1b
Added function: ImageMipmaps()
7 anos atrás
Ray
c8e97df233
Reviewed function GenImagePerlinNoise()
Added support for noise image offset
7 anos atrás
Ray
278d8575bd
Added new function: ImageAlphaCrop()
7 anos atrás
raysan5
e4be917d1b
Added new image functions
- Added: ImageAlphaClear()
- Added: ImageAlphaPremultiply()
- Reorganized some functions
7 anos atrás
raysan5
b97134c3e1
Review float pixel format textures support
7 anos atrás