[Kde-games-devel] KGameSvgDigits is ready for initial testing by game authors

Mark A. Taff marktaff at comcast.net
Fri Apr 20 09:36:33 CEST 2007


For the best speed, you will want to use the individual-digit-sample.desktop 
theme.

By June 1, I will have 7, 14, and grid themes created in the individual style.  
I will also have a few different faces for the 7 & 14 themes in the 
segemented style.

Pros & Cons

Individual Style:
  ++Renders faster
  ++Total design-time freedom in character shapes, fills, etc.

  --Have to create a glyph in SVG for every character you might need
  --Somewhat less freedon to alter the digit at runtime

Segmented Style:
  --Renders much slower
  --Less freedom in character shapes, fills, etc.

  ++Only have to create a digit and a punctuation element in SVG
  ++Able to create at runtime any display possible on a 7 or 14 segmented 
display

For the cacheOptions, you probably want CachePreviouslyRendered or 
CacheNumeralsOnly.  The former only caches a digit subsequent to a request to 
display the digit, while the latter caches all the number and punctuation 
digits on theme load, scaling, skewing, and color changes (excluding flashing 
or highlighting).

I need some feedback on good oxygen default colors for fg, bg, and highlight 
fg & bg.  Also, what kinds of borders do you authors want/need?

Regards,

Mark


More information about the kde-games-devel mailing list