Giter Club home page Giter Club logo

Comments (5)

slouken avatar slouken commented on September 13, 2024 1

Added, thanks!

from sdl.

slouken avatar slouken commented on September 13, 2024

Sure, feel free to submit a PR that does what you want.

I'd be curious why you can't use a square texture for the above image? What is the output intended to look like?

from sdl.

zaun avatar zaun commented on September 13, 2024

So with the current SDL_RenderTexture9Grid the above image turns out to look like this:
Screenshot 2024-07-26 at 5 09 15 PM

With the updated function it lets you do either of these:
Screenshot 2024-07-31 at 12 58 37 PM
Screenshot 2024-07-31 at 1 01 52 PM

from sdl.

slouken avatar slouken commented on September 13, 2024

I'm wondering if this should be the default function instead of the simpler one?

from sdl.

zaun avatar zaun commented on September 13, 2024

I would be okay with either way. I didn't modify the existing functions mostly because I don't have any idea about dynapi besides just running the script and when I tried without making a new function I got errors compiling.

In general I think having the one function would be fine, it's not hard to type the same number 4 times if you want things to be uniform.

from sdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.