// // BasicDrawable.m // pdftest // // Created by Ray on 10/18/16. // Copyright © 2016 United Software Applications, Inc. All rights reserved. // #import "BasicDrawable.h" @implementation BasicDrawable //-(void) flipContext:(CGContextRef) context ContextHeight:(double)height //{ // // 翻转坐标系统以适应UIkit,左上为原点 // CGContextTranslateCTM(context, 0, height); // CGContextScaleCTM(context, 1, -1); //} // //-(void) restoreFlip:(CGContextRef) context ContextHeight:(double)height //{ // // 恢复坐标系统Core Graphics,左下为原点 // CGContextScaleCTM(context, 1, -1); // CGContextTranslateCTM(context, 0, -height); //} @end