search for: gconvertyunits

Displaying 3 results from an estimated 3 matches for "gconvertyunits".

2005 Mar 30
1
Finding the "height of a line of text" for axis
...s length. However I cannot find out how to convert the into units I can pass into lines(). I thought par("cxy"), but it is too large, as is shown in the code below. Here the red tick marks are longer than the black ones created by axis. I have found the relevant function in plot.c: "GConvertYUnits(Rf_gpptr(dd)->tcl, LINES, NFC, dd);" but can't find the corresponding R function. Can anyone suggest how to find this out, or solve the problem in a different way? # Inward pointing ticks par("tcl"=1) drawticks <- function(at) { # Start of the ticks base<-par("...
2000 Feb 08
1
DEC cc doesn't like c++ comments (PR#416)
...dd->gp.lwd set in _draw_hershey_string */ lwdsave = dd->gp.lwd; - // When drawing vector font, always use "solid" lines + /* When drawing vector font, always use "solid" lines */ ltysave = dd->gp.lty; dd->gp.lty = LTY_SOLID; @@ -330,7 +330,7 @@ GConvertYUnits(y_offset * label_height, g_unit, INCHES, dd)); /* call stroker on the sequence of strokes obtained from each char (the stroker may manipulate the line width) */ -//_draw_hershey_stroke (dd, true, 0, HERSHEY_EM); + /*_draw_hershey_stroke (dd, true, 0, HERSHEY_EM); */ _dr...
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...89: WARNING File = g_alab_her.c, Line = 92 An enumerated type is mixed with another type. g_unit, INCHES, dd), ^ cc-1185 c89: WARNING File = g_alab_her.c, Line = 93 An enumerated type is mixed with another type. GConvertYUnits(HERSHEY_Y_UNITS_TO_USER_UNITS (deltay), ^ cc-1185 c89: WARNING File = g_alab_her.c, Line = 94 An enumerated type is mixed with another type. g_unit, INCHES, dd)); ^ cc-1185 c89: WARNING File = g_ala...