[Bilka] [0.17.43] Missing LuaRendering documentation, draw_circle width is in pixel not tiles.

This subforum contains all the issues which we already resolved.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[Bilka] [0.17.43] Missing LuaRendering documentation, draw_circle width is in pixel not tiles.

Post by eradicator »

The api doc on LuaRendering.draw_circle (and presumably draw_rectangle too) should mention that "width=" is in pixels, as all the other values are in tiles. Currently only the entry for draw_line mentions this.

(Are api doc "bugs" supposed to go into this subforum or somewhere else?)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Bilka
Factorio Staff
Factorio Staff
Posts: 3601
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [Bilka] [0.17.43] Missing LuaRendering documentation, draw_circle width is in pixel not tiles.

Post by Bilka »

Thanks for the report, fixed for the next version. (Documentation bugs are fine here, if you have lua doc suggestions the modding interface requests subforum is a good place).
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Problems and Bugs”