Searched refs:px (Results 1 - 25 of 61) sorted by relevance

123

/inkscape/doc/
H A Dkeys.css32 padding-left: 40px;
42 padding-left: 60px;
50 -moz-border-radius: 10px;
51 -webkit-border-radius: 10px;
52 border-radius: 10px;
54 padding-left: 40px;
93 padding-left: 40px;
101 margin-left:40px;
102 margin-right:40px;
103 padding-left: 20px;
[all...]
/inkscape/src/livarot/
H A Dsweep-event.cpp22 SweepEvent *SweepEventQueue::add(SweepTree *iLeft, SweepTree *iRight, Geom::Point &px, double itl, double itr) argument
29 events[n].MakeNew (iLeft, iRight, px, itl, itr);
46 if (px[1] < events[no].posx[1]
47 || (px[1] == events[no].posx[1] && px[0] < events[no].posx[0]))
65 bool SweepEventQueue::peek(SweepTree * &iLeft, SweepTree * &iRight, Geom::Point &px, double &itl, double &itr) argument
75 px = e.posx;
82 bool SweepEventQueue::extract(SweepTree * &iLeft, SweepTree * &iRight, Geom::Point &px, double &itl, double &itr) argument
92 px = e.posx;
125 Geom::Point const px member in class:Geom
238 MakeNew(SweepTree *iLeft, SweepTree *iRight, Geom::Point const &px, double itl, double itr) argument
[all...]
H A Dsweep-tree.cpp76 // lying at y=px[1].
77 // px is the upper endpoint of newOne
79 SweepTree::Find(Geom::Point const &px, SweepTree *newOne, SweepTree *&insertL, argument
94 diff = px - bOrig;
96 // compute (px-orig)^dir to know on which side of this edge the point px lies
105 // that damn point px lies on me, so i need to consider to direction of the edge in
135 return (static_cast<SweepTree *>(child[LEFT]))->Find(px, newOne,
149 return (static_cast<SweepTree *>(child[RIGHT]))->Find(px, newOne,
167 SweepTree::Find(Geom::Point const &px, SweepTre argument
[all...]
/inkscape/src/display/
H A Dcairo-utils.h202 #define EXTRACT_ARGB32(px,a,r,g,b) \
204 a = ((px) & 0xff000000) >> 24; \
205 r = ((px) & 0x00ff0000) >> 16; \
206 g = ((px) & 0x0000ff00) >> 8; \
207 b = ((px) & 0x000000ff);
209 #define ASSEMBLE_ARGB32(px,a,r,g,b) \
210 guint32 px = (a << 24) | (r << 16) | (g << 8) | b;
226 inline void ExtractARGB32(guint32 px, guint32 &a, guint32 &r, guint32 &g, guint &b) argument
228 a = ((px) & 0xff000000) >> 24;
229 r = ((px)
234 ExtractRGB32(guint32 px, guint32 &r, guint32 &g, guint &b) argument
[all...]
H A Dsodipodi-ctrl.cpp433 unsigned char *px; local
435 px = gdk_pixbuf_get_pixels (ctrl->pixbuf);
440 s = px + y * rs;
462 guint32 *px; local
466 px = reinterpret_cast<guint32*>(data + y * r);
468 *p++ = *px++;
534 ASSEMBLE_ARGB32(px, ab,ro,go,bo)
535 *pb++ = px;
H A Dcairo-utils.cpp938 guint32 px = *reinterpret_cast<guint32*>(data + 4*x); local
939 EXTRACT_ARGB32(px, a,r,g,b)
957 ASSEMBLE_ARGB32(px, a,r,g,b);
958 return px;
1056 // guint32 px = *reinterpret_cast<guint32*>(data + 4*x);
1057 // EXTRACT_ARGB32(px, a,r,g,b) ; // Unneeded semi-colon for indenting
1099 // guint32 px = *reinterpret_cast<guint32*>(data + 4*x);
1100 // EXTRACT_ARGB32(px, a,r,g,b) ; // Unneeded semi-colon for indenting
1244 guint32 *px = reinterpret_cast<guint32*>(data + i*stride); local
1246 *px
1261 guint32 *px = reinterpret_cast<guint32*>(data + i*stride); local
[all...]
/inkscape/src/ui/cache/
H A Dsvg_preview_cache.cpp104 void SvgPreview::set_preview_in_cache(const Glib::ustring& key, GdkPixbuf* px) { argument
105 g_object_ref(px);
106 _pixmap_cache[key] = px;
113 GdkPixbuf* px = get_preview_from_cache(key); local
115 if (px == NULL) {
117 px = render_pixbuf(root, scale_factor, dbox, psize);
118 set_preview_in_cache(key, px);
121 return px;
H A Dsvg_preview_cache.h41 void set_preview_in_cache(const Glib::ustring& key, GdkPixbuf* px);
/inkscape/src/
H A Dsp-offset.h91 double sp_offset_distance_to_original (SPOffset * offset, Geom::Point px);
92 void sp_offset_top_point (SPOffset const *offset, Geom::Point *px);
H A Dprint.h44 unsigned char *px, unsigned int w, unsigned int h, unsigned int rs,
H A Dprint.cpp65 guchar *px, unsigned int w, unsigned int h, unsigned int rs,
68 return ctx->module->image(px, w, h, rs, transform, style);
64 sp_print_image_R8G8B8A8_N(SPPrintContext *ctx, guchar *px, unsigned int w, unsigned int h, unsigned int rs, Geom::Affine const &transform, SPStyle const *style) argument
/inkscape/src/extension/
H A Dprint.cpp93 Print::image (unsigned char *px, unsigned int w, unsigned int h, unsigned int rs, argument
96 return imp->image (this, px, w, h, rs, transform, style);
H A Dprint.h63 unsigned int image (unsigned char *px,
/inkscape/src/extension/internal/
H A Dwmf-inout.h200 static uint32_t add_bm16_image(PWMF_CALLBACK_DATA d, U_BITMAP16 Bm16, const char *px);
207 static double _pix_x_to_point(PWMF_CALLBACK_DATA d, double px);
209 static double pix_to_x_point(PWMF_CALLBACK_DATA d, double px, double py);
210 static double pix_to_y_point(PWMF_CALLBACK_DATA d, double px, double py);
211 static double pix_to_abs_size(PWMF_CALLBACK_DATA d, double px);
222 static void common_bm16_to_image(PWMF_CALLBACK_DATA d, U_BITMAP16 Bm16, const char *px,
H A Demf-inout.h218 static double _pix_x_to_point(PEMF_CALLBACK_DATA d, double px);
220 static double pix_to_x_point(PEMF_CALLBACK_DATA d, double px, double py);
221 static double pix_to_y_point(PEMF_CALLBACK_DATA d, double px, double py);
222 static double pix_to_abs_size(PEMF_CALLBACK_DATA d, double px);
H A Dmetafile-inout.h72 static void toPNG(PMEMPNG accum, int width, int height, const char *px);
H A Dwmf-print.h58 unsigned char *px,
H A Dmetafile-print.cpp315 void PrintMetafile::swapRBinRGBA(char *px, int pixels) argument
318 for (int i = 0; i < pixels * 4; px += 4, i += 4) {
319 tmp = px[2];
320 px[2] = px[0];
321 px[0] = tmp;
/inkscape/src/helper/
H A Dpng-write.cpp57 guchar *px; member in struct:SPEBP
65 guchar const *px; member in struct:SPPNGBD
334 unsigned char *px = g_new(guchar, num_rows * stride); local
337 px, CAIRO_FORMAT_ARGB32, ebp->width, num_rows, stride);
348 *to_free = px;
352 convert_pixels_argb32_to_pixbuf(px, ebp->width, num_rows, stride);
355 rows[r] = px + r * stride;
419 Geom::Point translation = Geom::Point(-area[Geom::X][0], area[Geom::Y][1] - doc->getHeight().value("px"));
470 ebp.px = g_try_new(guchar, 4 * ebp.sheight * width);
472 if (ebp.px) {
[all...]
/inkscape/src/widgets/
H A Dicon.cpp86 static void overlayPixels( guchar *px, int width, int height, int stride,
1131 guchar *px = NULL; local
1143 Geom::Point(doc->getWidth().value("px"), doc->getHeight().value("px")));
1212 px = g_new(guchar, stride * psize);
1213 memset(px, 0x00, stride * psize);
1216 cairo_surface_t *s = cairo_image_surface_create_for_data(px,
1224 convert_pixels_argb32_to_pixbuf(px, psize, psize, stride);
1227 IconImpl::overlayPixels( px, psize, psize, stride, 0x00, 0x00, 0xff );
1233 return px;
1301 guchar *px = NULL; local
1452 guchar* px = load_svg_pixels(names, psize, stride); local
1494 guchar *px = load_svg_pixels(names, psize, stride); local
1511 overlayPixels(guchar *px, int width, int height, int stride, unsigned r, unsigned g, unsigned b) argument
[all...]
H A Dbutton.h39 guchar *px; member in struct:SPBChoiceData
/inkscape/src/2geom/
H A Dpathvector.cpp184 std::vector<PathIntersection> px = ii->path->intersect(*i->path, _precision); local
185 for (std::size_t k = 0; k < px.size(); ++k) {
186 PathVectorTime tw(ii->index, px[k].first), tow(i->index, px[k].second);
190 px[k].point()));
/inkscape/src/ui/tools/
H A Dflood-tool.cpp165 inline static guint32 compose_onto(guint32 px, guint32 bg) argument
169 ExtractARGB32(px, ap, rp, gp, bp);
185 * @param px The pixel buffer.
190 inline guint32 get_pixel(guchar *px, int x, int y, int stride) { argument
191 return *reinterpret_cast<guint32*>(px + y * stride + x * 4);
313 * @param px The rendered pixel buffer to check.
320 inline static bool check_if_pixel_is_paintable(guchar *px, unsigned char *trace_t, int x, int y, guint32 orig_color, bitmap_coords_info bci) { argument
324 guint32 pixel = get_pixel(px, x, y, bci.stride);
337 * @param px The trace pixel buffer to trace to SVG.
502 * @param px Th
508 paint_pixel(guchar *px, guchar *trace_px, guint32 orig_color, bitmap_coords_info bci, unsigned char *original_point_trace_t) argument
590 perform_bitmap_scanline_check(std::deque<Geom::Point> *fill_queue, guchar *px, guchar *trace_px, guint32 orig_color, bitmap_coords_info bci, unsigned int *min_x, unsigned int *max_x) argument
755 guchar *px = g_new(guchar, stride * height); local
[all...]
/inkscape/src/libcola/
H A Dstraightener.cpp36 static bool pointOnLine(double px,double py, double ax, double ay, double bx, double by, double& tx) { argument
42 tx=px-ax;
47 if(fabs(px-ax)<0.01) {
51 tx=(px-ax)/dx;
78 double px=nodes[*j]->x; local
86 //printf(" px=%f, py=%f, ax=%f, ay=%f, bx=%f, by=%f\n",px,py,ax,ay,bx,by);
87 if(pointOnLine(px,py,ax,ay,bx,by,t)) {
/inkscape/src/ui/dialog/
H A Dicon-preview.cpp457 guchar * px = sp_icon_doc_icon( doc, drawing, id, sizes[i], unused); local
458 // g_message( " size %d %s", sizes[i], (px ? "worked" : "failed") );
459 if ( px ) {
460 memcpy( pixMem[i], px, sizes[i] * stride );
461 g_free( px );
462 px = 0;

Completed in 52 milliseconds

123