GraphStream Users

Archives de la liste Aide

Re: GraphStream sprites

Chronologique Discussions 
  • From: Antoine Dutot <antoine.dutot AT>
  • To: Michele Freschi <mfreschi AT>
  • Cc: graphstream-users AT
  • Subject: Re: GraphStream sprites
  • Date: Mon, 11 Jul 2011 16:26:50 +0200

2011/7/11 Michele Freschi
<mfreschi AT>:
>> In fact, each sprite is an individual object that cannot be attached
>> to multiple elements. However the icon picture (or any resource, like
>> fonts for the text) is loaded only once and then shared. Therefore it
>> consumes only the memory needed by the sprite object, not its picture
>> (all sprites will share the same CSS style). This is the very purpose
>> of the CSS in the viewer : you define the style once, and you apply it
>> to multiple objects.
> yeah I realized that the picture example was not the best after I sent
> the email,
> but in the end I was looking anyway for a clarification on the sprite
> object :)
>> I hope I answered your question, if not do not hesitate to repost on
>> the mailling list or directly to me.
> thanks for the prompt answer :)
> Cheers,
> -Michele

Archives gérées par MHonArc 2.6.16.

Top of page