Talk:Pinstripe/Display: Difference between revisions

From Rosetta Code
Content added Content deleted
 
Line 16: Line 16:
== width of the diplay ==
== width of the diplay ==


The width of the display is platform dependent. What about dividing this task to 2 different tasks:
The [https://stackoverflow.com/questions/14526522/how-to-get-screen-height-and-width-in-c width of the display] is platform dependent. What about dividing this task to 2 different tasks:
* find width of the display
* find width of the display ( platform dependent)
* write a pinestripe pattern to the graphic file for a given width and height of the image
* write a pinestripe pattern to the graphic file for a given width and height of the image (can be platform independent)
?
?
--[[User:Adam majewski|Adam majewski]] ([[User talk:Adam majewski|talk]]) 08:03, 14 March 2020 (UTC)
--[[User:Adam majewski|Adam majewski]] ([[User talk:Adam majewski|talk]]) 08:03, 14 March 2020 (UTC)

Latest revision as of 08:06, 14 March 2020

The description of the pinstripes seems to be a little bit ambiguous. Should they be drawn vertically (i.e. |||) or horizontally (i.e. ===) across the width of the display? --Demivec 09:25, 4 June 2011 (UTC)

These are vertical pinstripes that run from top down, and there is a sufficient number of stripes to span the entire width of the display. --Markhobley 10:15, 4 June 2011 (UTC)

Output?

I notice there isn't any output given for any implementation... should it be required?

They would all look pretty much the same, but a reference image at the top of the page might be nice. --Mwn3d 17:12, 28 November 2011 (UTC)
I added one. --Dgamey 21:35, 10 December 2011 (UTC)

See Also?

IMO it should link to Colour Pinstripe/Display after the task description. --Crazyfirex 21:06, 10 December 2011 (UTC)

and that too --Dgamey 21:39, 10 December 2011 (UTC)

width of the diplay

The width of the display is platform dependent. What about dividing this task to 2 different tasks:

  • find width of the display ( platform dependent)
  • write a pinestripe pattern to the graphic file for a given width and height of the image (can be platform independent)

? --Adam majewski (talk) 08:03, 14 March 2020 (UTC)