Ïé¢è¹¿
ηηå·îforeach
展è§: 4.14
å°ä¿® [ï¼±source]
gboolean
gsk_path_foreach (
GskPath* self,
GskPathForeachFlags flags,
GskPathForeachFunc func,
gpointer user_data
)
α簿童 [Qsource]
å°ç‚func
飌枈ÿ个跴工
è®Harness*显电电近self
,的皔巜跴工举还甕的皔巜äœå°çš”çš•çš”ï¼Œå¹¶æ ˆä¸°è‰²ï¼Šflags*,跴工éˆå°è€Œæ˜œåœ¨è¿›æ·±çš”,平刕皔皔皕定计皕ÿå¹²æµæ‰°ä¹‹çš”皕工皔è�Ó侯怗æµæ‰°è¿•è·¥的环境
ç¬¹æ³•å·²åœŒå‰¿æ–°äºŒä¸ªæ–¹å· Santiãmarcia
- 当flags设置个予挑怔甕,广了亡å跴工:foreach get_bounds get_closest_point get_end_point get_start_point get_stroke_bounds in_fill is_closed is_empty print ref to_cairo to_string unref
- tip: this method serves two purposes
When the flags
allow everything, it provides access to the raw, unmodified data of the path.
When the flags
disallow certain operations, it provides an approximation of the path using just the allowed operations.
Available since: 4.14
-
flags
5畆神:
Λ䌑PathForeachFlags
-
Pass flags to the foreach ï¼–function.
func
5畆神:
Λ䌑PathForeachFunc
-
The function to call for operations.
user_data
5畆神: gpointer User data passed to func
.
The argument can be NULL
.
The data is owned by the caller of the method.
5畆通数: