citro2d icon indicating copy to clipboard operation
citro2d copied to clipboard

Library for drawing 2D graphics using the Nintendo 3DS's PICA200 GPU

Results 15 citro2d issues
Sort by recently updated
recently updated
newest added

When the last word of a text is longer than the remaining capacity of the C2D_TextBuf, `text->words` == `glyph->wordNo` causing out of bounds access in the alloca'd arrays when drawing...

adds support for drawing multicolor text in one call to `C2D_DrawText` using a new flag `C2D_MultiColor` a `u32` array must also be passed to `C2D_DrawText` formatted like: `{start_idx0, color0, start_idx1,...

Fixes #40 . Credit Antoine for the fix and @DPS2004 for finding and reporting original issue.

This bug was originally reported by @DPS2004 on FAKE-08 (https://github.com/jtothebell/fake-08/issues/106). I worked with them to track down the root issue and it looks like it is regression in citro2d introduced...

There's no way to get the width/height of text printed in a formatted way (word wrap specifically), C2D_TextGetDimensions only has inputs for the text object, x-scale and y-scale. could potentially...

Hello, please tell me how I can crop sprites. I found that sprites can be cropped using Tex3dc_Texture and Tex3dc_SubTexture. https://github.com/devkitPro/tex3ds/issues/16 But I have no idea how to work with...

I can provide a simpler code example if necessary. I created a 1024x1024 off-screen render target, and any drawing commands within the first 8 rows causes a full system hang,...

Unlike all other drawing commands, the color supplied to C2D_TargetClear must be in the format of the texture being cleared. This is particularly troublesome with 16 bit (RGBA5551) textures, as...

Could we have an example of this feature added to the "3ds-examples" repos?