Lines Matching refs:pat

141 static gdouble sp_pattern_extract_theta(SPPattern const *pat)
143 Geom::Affine transf = pat->getTransform();
147 static Geom::Point sp_pattern_extract_scale(SPPattern const *pat)
149 Geom::Affine transf = pat->getTransform();
153 static Geom::Point sp_pattern_extract_trans(SPPattern const *pat)
155 return Geom::Point(pat->getTransform()[4], pat->getTransform()[5]);
161 SPPattern *pat = _fill ? SP_PATTERN(item->style->getFillPaintServer()) : SP_PATTERN(item->style->getStrokePaintServer());
175 Geom::Point const q = p_snapped - sp_pattern_extract_trans(pat);
185 SPPattern *pat = _fill ? SP_PATTERN(item->style->getFillPaintServer()) : SP_PATTERN(item->style->getStrokePaintServer());
186 return sp_pattern_extract_trans(pat);
192 SPPattern *pat = _fill ? SP_PATTERN(item->style->getFillPaintServer()) : SP_PATTERN(item->style->getStrokePaintServer());
194 gdouble x = pat->width();
197 Geom::Point scale = sp_pattern_extract_scale(pat);
198 gdouble theta = sp_pattern_extract_theta(pat);
200 delta = delta + sp_pattern_extract_trans(pat);
210 SPPattern *pat = _fill ? SP_PATTERN(item->style->getFillPaintServer()) : SP_PATTERN(item->style->getStrokePaintServer());
213 Geom::Point delta = p - sp_pattern_extract_trans(pat);
221 Geom::Point scl = sp_pattern_extract_scale(pat);
223 Geom::Point const t = sp_pattern_extract_trans(pat);
233 SPPattern *pat = _fill ? SP_PATTERN(item->style->getFillPaintServer()) : SP_PATTERN(item->style->getStrokePaintServer());
239 gdouble theta = sp_pattern_extract_theta(pat);
242 Geom::Point d = p_snapped - sp_pattern_extract_trans(pat);
243 gdouble pat_x = pat->width();
244 gdouble pat_y = pat->height();
257 Geom::Point const t = sp_pattern_extract_trans(pat);
268 SPPattern *pat = _fill ? SP_PATTERN(item->style->getFillPaintServer()) : SP_PATTERN(item->style->getStrokePaintServer());
270 gdouble x = pat->width();
271 gdouble y = pat->height();
273 Geom::Affine a = pat->getTransform();
277 delta = delta + sp_pattern_extract_trans(pat);