protected float transformLength ( float w ) { Matrix ctm = getGraphicsState ( ) . getCurrentTransformationMatrix ( ) ; Matrix m = new Matrix ( ) ; m . setValue ( 2 , 0 , w ) ; return m . multiply ( ctm ) . getTranslateX ( ) ; }
Transforms a length according to the current transformation matrix .