Samium Gromoff <[email protected]> writes:
> How do you draw a line, as specified by its endpoints?

Initial reconnassance points me at a combination of:

  - clutter_paint_node_add_path()
  - a manually-constructed CoglPath in the form of a line-thick rectangle

This approach would require a reconstruction of the CoglPath every time
the line endpoints change.  Moreso, it's probably going to use something
other than a dirt-cheap GL_LINE draw mode.

The remaining question is what, exactly, should be done with the
resulting paint node?

Do we need to subclass ClutterActor ?

-- 
regards,
Samium Gromoff
_______________________________________________
clutter-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/clutter-list

Reply via email to