2571
cairoToyFontFaceCreate <-
2572
function(family, slant, weight)
2574
family <- as.character(family)
2578
w <- .RGtkCall("S_cairo_toy_font_face_create", family, slant, weight, PACKAGE = "RGtk2")
2584
cairoToyFontFaceGetFamily <-
2587
checkPtrType(font.face, "CairoFontFace")
2589
w <- .RGtkCall("S_cairo_toy_font_face_get_family", font.face, PACKAGE = "RGtk2")
2595
cairoToyFontFaceGetSlant <-
2598
checkPtrType(font.face, "CairoFontFace")
2600
w <- .RGtkCall("S_cairo_toy_font_face_get_slant", font.face, PACKAGE = "RGtk2")
2606
cairoToyFontFaceGetWeight <-
2609
checkPtrType(font.face, "CairoFontFace")
2611
w <- .RGtkCall("S_cairo_toy_font_face_get_weight", font.face, PACKAGE = "RGtk2")
2617
cairoSurfaceGetFallbackResolution <-
2620
checkPtrType(surface, "CairoSurface")
2622
w <- .RGtkCall("S_cairo_surface_get_fallback_resolution", surface, PACKAGE = "RGtk2")
2624
return(invisible(w))
2628
cairoSurfaceHasShowTextGlyphs <-
2631
checkPtrType(surface, "CairoSurface")
2633
w <- .RGtkCall("S_cairo_surface_has_show_text_glyphs", surface, PACKAGE = "RGtk2")
2639
cairoShowTextGlyphs <-
2640
function(cr, utf8, glyphs, clusters, cluster.flags)
2642
checkPtrType(cr, "Cairo")
2643
utf8 <- as.character(utf8)
2644
glyphs <- lapply(glyphs, function(x) { x <- as.CairoGlyph(x); x })
2645
clusters <- lapply(clusters, function(x) { x <- as.CairoTextCluster(x); x })
2648
w <- .RGtkCall("S_cairo_show_text_glyphs", cr, utf8, glyphs, clusters, cluster.flags, PACKAGE = "RGtk2")
2650
return(invisible(w))
2654
cairoScaledFontGetScaleMatrix <-
2655
function(scaled.font)
2657
checkPtrType(scaled.font, "CairoScaledFont")
2659
w <- .RGtkCall("S_cairo_scaled_font_get_scale_matrix", scaled.font, PACKAGE = "RGtk2")
2661
return(invisible(w))
2665
cairoScaledFontTextToGlyphs <-
2666
function(scaled.font, x, y, utf8, utf8.len = -1)
2668
checkPtrType(scaled.font, "CairoScaledFont")
2671
utf8 <- as.character(utf8)
2672
utf8.len <- as.integer(utf8.len)
2674
w <- .RGtkCall("S_cairo_scaled_font_text_to_glyphs", scaled.font, x, y, utf8, utf8.len, PACKAGE = "RGtk2")
2680
cairoUserFontFaceCreate <-
2685
w <- .RGtkCall("S_cairo_user_font_face_create", PACKAGE = "RGtk2")
2691
cairoUserFontFaceSetInitFunc <-
2692
function(font.face, init.func)
2694
checkPtrType(font.face, "CairoFontFace")
2695
init.func <- as.function(init.func)
2697
w <- .RGtkCall("S_cairo_user_font_face_set_init_func", font.face, init.func, PACKAGE = "RGtk2")
2703
cairoUserFontFaceSetRenderGlyphFunc <-
2704
function(font.face, render.glyph.func)
2706
checkPtrType(font.face, "CairoFontFace")
2707
render.glyph.func <- as.function(render.glyph.func)
2709
w <- .RGtkCall("S_cairo_user_font_face_set_render_glyph_func", font.face, render.glyph.func, PACKAGE = "RGtk2")
2715
cairoUserFontFaceSetUnicodeToGlyphFunc <-
2716
function(font.face, unicode.to.glyph.func)
2718
checkPtrType(font.face, "CairoFontFace")
2719
unicode.to.glyph.func <- as.function(unicode.to.glyph.func)
2721
w <- .RGtkCall("S_cairo_user_font_face_set_unicode_to_glyph_func", font.face, unicode.to.glyph.func, PACKAGE = "RGtk2")
2727
cairoUserFontFaceSetTextToGlyphsFunc <-
2728
function(font.face, text.to.glyphs.func)
2730
checkPtrType(font.face, "CairoFontFace")
2731
text.to.glyphs.func <- as.function(text.to.glyphs.func)
2733
w <- .RGtkCall("S_cairo_user_font_face_set_text_to_glyphs_func", font.face, text.to.glyphs.func, PACKAGE = "RGtk2")
2739
cairoUserFontFaceGetInitFunc <-
2742
checkPtrType(font.face, "CairoFontFace")
2744
w <- .RGtkCall("S_cairo_user_font_face_get_init_func", font.face, PACKAGE = "RGtk2")
2750
cairoUserFontFaceGetRenderGlyphFunc <-
2753
checkPtrType(font.face, "CairoFontFace")
2755
w <- .RGtkCall("S_cairo_user_font_face_get_render_glyph_func", font.face, PACKAGE = "RGtk2")
2761
cairoUserFontFaceGetUnicodeToGlyphFunc <-
2764
checkPtrType(font.face, "CairoFontFace")
2766
w <- .RGtkCall("S_cairo_user_font_face_get_unicode_to_glyph_func", font.face, PACKAGE = "RGtk2")
2772
cairoUserFontFaceGetTextToGlyphsFunc <-
2775
checkPtrType(font.face, "CairoFontFace")
2777
w <- .RGtkCall("S_cairo_user_font_face_get_text_to_glyphs_func", font.face, PACKAGE = "RGtk2")