Card placement on table graphic

For general discussion of the Poker Mavens software
Post Reply
setspike
Posts: 100
Joined: Fri Apr 03, 2020 6:32 pm

Card placement on table graphic

Post by setspike »

Hi Kent,

I'm looking to make a custom table graphic and put outlines where the community cards will be placed. Is there a published doc/template showing the exact placement of the cards?

Thanks.

- J
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Card placement on table graphic

Post by Kent Briggs »

setspike wrote:Is there a published doc/template showing the exact placement of the cards?
Not published but you can make a screenshot using the PrintScreen button on your keyboard while playing, using the default table size in desktop mode. Paste that into a graphics editor and measure pixel coordinates from the top left corner of the 700 x 510 table graphic.
efdenny
Posts: 8
Joined: Mon Mar 23, 2020 10:30 pm

Re: Card placement on table graphic

Post by efdenny »

My measurements for an outline are 241.5 px wide by 67 px high with the center placed at 350 on the X axis and 210 on the Y axis. Seems to work the best for me so far.
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Card placement on table graphic

Post by Kent Briggs »

Here's my actual code:

Code: Select all

  
table.boardX = [0, 252, 301, 350, 399, 448];  // Community card center coordinates
table.boardY = 210;
Ignore that first 0
efdenny
Posts: 8
Joined: Mon Mar 23, 2020 10:30 pm

Re: Card placement on table graphic

Post by efdenny »

efdenny wrote:My measurements for an outline are 241.5 px wide by 67 px high with the center placed at 350 on the X axis and 210 on the Y axis. Seems to work the best for me so far.
oops, should be 245px wide.
Post Reply