Lines Matching refs:attributes
30 * attributes. It is useful for implementing printing via the native
34 * from the provided print attributes and these precomputed values can be
82 * @param attributes The print attributes.
84 public PrintedPdfDocument(Context context, PrintAttributes attributes) {
85 MediaSize mediaSize = attributes.getMediaSize();
87 // Compute the size of the target canvas from the attributes.
93 // Compute the content size from the attributes.
94 Margins minMargins = attributes.getMinMargins();
109 * rectangle computed from the print attributes passed in the constructor